about summary refs log tree commit diff
path: root/Src/builtin.c
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-10-18 00:48:14 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-10-18 00:48:14 +0000
commit1f2f3427ef93dd353c6d86e6b156c05d0ff4d982 (patch)
tree444bbaa293182e693f0cf1b1842308c4ea260765 /Src/builtin.c
parent7ef31c0ac9edba315f7645062341242afd45b6f0 (diff)
downloadzsh-1f2f3427ef93dd353c6d86e6b156c05d0ff4d982.tar.gz
zsh-1f2f3427ef93dd353c6d86e6b156c05d0ff4d982.tar.xz
zsh-1f2f3427ef93dd353c6d86e6b156c05d0ff4d982.zip
zsh-workers/8308
Diffstat (limited to 'Src/builtin.c')
-rw-r--r--Src/builtin.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Src/builtin.c b/Src/builtin.c
index a7c03acef..acefcd111 100644
--- a/Src/builtin.c
+++ b/Src/builtin.c
@@ -3153,7 +3153,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 (isset(CHECKJOBS))
+	        checkjobs();   /* check if any jobs are running/stopped */
 	    if (stopmsg) {
 		stopmsg = 2;
 		LASTALLOC_RETURN;