mirror of
git://git.code.sf.net/p/zsh/code
synced 2026-01-06 09:41:07 +01:00
zsh-3.1.6-pws-10
This commit is contained in:
parent
6e8cfbd006
commit
72348f15d2
6 changed files with 161 additions and 19 deletions
|
|
@ -572,8 +572,7 @@ killrunjobs(int from_signal)
|
|||
if ((from_signal || i != thisjob) && (jobtab[i].stat & STAT_LOCKED) &&
|
||||
!(jobtab[i].stat & STAT_NOPRINT) &&
|
||||
!(jobtab[i].stat & STAT_STOPPED)) {
|
||||
if (jobtab[i].gleader != getpid() &&
|
||||
killpg(jobtab[i].gleader, SIGHUP) != -1)
|
||||
if (killpg(jobtab[i].gleader, SIGHUP) != -1)
|
||||
killed++;
|
||||
}
|
||||
if (killed)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue