From fe32b566e1c4da49856eb1cbb95fdbc3b8760add Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Thu, 30 Sep 1999 14:55:20 +0000 Subject: zsh-workers/8109 --- Src/builtin.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Src/builtin.c') diff --git a/Src/builtin.c b/Src/builtin.c index ae608cc39..c0b716d45 100644 --- a/Src/builtin.c +++ b/Src/builtin.c @@ -3152,7 +3152,8 @@ zexit(int val, int from_signal) HEAPALLOC { if (isset(MONITOR) && !stopmsg && !from_signal) { scanjobs(); /* check if jobs need printing */ - checkjobs(); /* check if any jobs are running/stopped */ + if (unset(SHJOBCONTROL)) + checkjobs(); /* check if any jobs are running/stopped */ if (stopmsg) { stopmsg = 2; LASTALLOC_RETURN; -- cgit 1.4.1