about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-12-12 20:40:15 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-12-12 20:40:15 +0000
commit8699df93e16a45384168b0f5bbc5de417aa6d866 (patch)
treec5f62a5d1dc584dd516f4bf5ac6f1c1bbded78fa
parent5a18eede08bcfacd82e2c3b043b42353c08e92e4 (diff)
downloadzsh-8699df93e16a45384168b0f5bbc5de417aa6d866.tar.gz
zsh-8699df93e16a45384168b0f5bbc5de417aa6d866.tar.xz
zsh-8699df93e16a45384168b0f5bbc5de417aa6d866.zip
zsh-workers/9005
-rw-r--r--Src/exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/exec.c b/Src/exec.c
index f70a00595..c09536da9 100644
--- a/Src/exec.c
+++ b/Src/exec.c
@@ -945,7 +945,7 @@ execpline(Sublist l, int how, int last1)
 		    jn->stat & STAT_DONE &&
 		    lastval2 & 0200)
 		    killpg(mypgrp, lastval2 & ~0200);
-		if (!list_pipe_child && !lpforked && !subsh &&
+		if (!list_pipe_child && !lpforked && !subsh && jobbing &&
 		    (list_pipe || last1 || pline_level) &&
 		    ((jn->stat & STAT_STOPPED) ||
 		     (list_pipe_job && pline_level &&