diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Src/exec.c | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index b52f9493f..99d9935e1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-01-05 Peter Stephenson <pws@csr.com> + + * 20632: propagating signals incorrectly to current process + group could kill shell. + 2004-12-27 Clint Adams <clint@zsh.org> * 20639: Completion/Unix/Command/_bogofilter: 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) && |