From 849b808da603eefecb9dbf8c054396ab2692bf09 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Wed, 5 Jan 2005 11:04:21 +0000 Subject: 20632: incorrect propagation of signals to process group --- Src/exec.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Src') 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) && -- cgit 1.4.1