summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--Src/signals.c1
2 files changed, 4 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index b0f838d5c..d36a6970e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2021-07-23 Peter Stephenson <p.w.stephenson@ntlworld.com>
+ * Erik Paulson: 49029: Src/signals.c: Remove additional copies
+ of signals sent by zsh with MONITOR enabled.
+
* 49182: Src/hist.c, Src/lex.c: Interactive word correction
doesn't work inside command substitution, so don't try to do it.
diff --git a/Src/signals.c b/Src/signals.c
index 2c540f38f..5c787e2a8 100644
--- a/Src/signals.c
+++ b/Src/signals.c
@@ -810,6 +810,7 @@ killjb(Job jn, int sig)
err = killpg(jn->gleader, sig);
if (sig == SIGCONT && err != -1)
makerunning(jn);
+ return err;
}
}
for (pn = jn->procs; pn; pn = pn->next) {