summaryrefslogtreecommitdiffstats
path: root/Src/exec.c
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 /Src/exec.c
parentzsh-workers/8997 (diff)
downloadzsh-8699df93e16a45384168b0f5bbc5de417aa6d866.tar
zsh-8699df93e16a45384168b0f5bbc5de417aa6d866.tar.gz
zsh-8699df93e16a45384168b0f5bbc5de417aa6d866.tar.bz2
zsh-8699df93e16a45384168b0f5bbc5de417aa6d866.tar.lz
zsh-8699df93e16a45384168b0f5bbc5de417aa6d866.tar.xz
zsh-8699df93e16a45384168b0f5bbc5de417aa6d866.tar.zst
zsh-8699df93e16a45384168b0f5bbc5de417aa6d866.zip
zsh-workers/9005
Diffstat (limited to 'Src/exec.c')
-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 &&