diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 1999-07-03 13:16:46 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 1999-07-03 13:16:46 +0000 |
commit | 7c670f1e6a0e154f0b1a2d4b6eed0e71c9404b56 (patch) | |
tree | 9bb85bcd27410e1b752c8550f487165d71dc8aca /Src/signals.c | |
parent | b09922bb063ddf44c7850b182fec4795fbe1ae90 (diff) | |
download | zsh-7c670f1e6a0e154f0b1a2d4b6eed0e71c9404b56.tar.gz zsh-7c670f1e6a0e154f0b1a2d4b6eed0e71c9404b56.tar.xz zsh-7c670f1e6a0e154f0b1a2d4b6eed0e71c9404b56.zip |
zsh-3.1.5-pws-25 dot-zsh-199907031715
Diffstat (limited to 'Src/signals.c')
-rw-r--r-- | Src/signals.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Src/signals.c b/Src/signals.c index e9851b57a..d29bdd4b0 100644 --- a/Src/signals.c +++ b/Src/signals.c @@ -586,7 +586,10 @@ killjb(Job jn, int sig) for (pn = jn->procs; pn->next; pn = pn->next) err = kill(pn->pid, sig); - + + if (!jobtab[jn->other].procs && pn) + err = kill(pn->pid, sig); + return err; } |