diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 1999-10-18 00:48:14 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 1999-10-18 00:48:14 +0000 |
commit | 1f2f3427ef93dd353c6d86e6b156c05d0ff4d982 (patch) | |
tree | 444bbaa293182e693f0cf1b1842308c4ea260765 /Src/builtin.c | |
parent | 7ef31c0ac9edba315f7645062341242afd45b6f0 (diff) | |
download | zsh-1f2f3427ef93dd353c6d86e6b156c05d0ff4d982.tar.gz zsh-1f2f3427ef93dd353c6d86e6b156c05d0ff4d982.tar.xz zsh-1f2f3427ef93dd353c6d86e6b156c05d0ff4d982.zip |
zsh-workers/8308
Diffstat (limited to 'Src/builtin.c')
-rw-r--r-- | Src/builtin.c | 3 |
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; |