diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2005-01-05 11:04:21 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2005-01-05 11:04:21 +0000 |
commit | 849b808da603eefecb9dbf8c054396ab2692bf09 (patch) | |
tree | f9f2581df42fa8f664b2d59c4cc6ee7fbd35c0b6 /Src/exec.c | |
parent | 35b31bdb62cc8c67b83e2c5d197cff1722b8969a (diff) | |
download | zsh-849b808da603eefecb9dbf8c054396ab2692bf09.tar.gz zsh-849b808da603eefecb9dbf8c054396ab2692bf09.tar.xz zsh-849b808da603eefecb9dbf8c054396ab2692bf09.zip |
20632: incorrect propagation of signals to process group
Diffstat (limited to 'Src/exec.c')
-rw-r--r-- | Src/exec.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Src/exec.c b/Src/exec.c index 47772a502..53d7ff673 100644 --- a/Src/exec.c +++ b/Src/exec.c @@ -1233,7 +1233,8 @@ execpline(Estate state, wordcode slcode, int how, int last1) (!(jn->stat & STAT_INUSE) || (jn->stat & STAT_DONE))) { deletejob(jn); jn = jobtab + pj; - killjb(jn, lastval & ~0200); + if (jn->gleader) + killjb(jn, lastval & ~0200); } if (list_pipe_child || ((jn->stat & STAT_DONE) && |