1
0
Fork 0
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:
Tanaka Akira 1999-11-30 06:11:58 +00:00
parent 6e8cfbd006
commit 72348f15d2
6 changed files with 161 additions and 19 deletions

View file

@ -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)