about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--Src/exec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Src/exec.c b/Src/exec.c
index 1d05ef62d..e504554e5 100644
--- a/Src/exec.c
+++ b/Src/exec.c
@@ -983,6 +983,7 @@ execpline(Estate state, wordcode slcode, int how, int last1)
 		if (!(jn->stat & STAT_LOCKED)) {
 		    child_unblock();
 		    waitjobs();
+		    child_block();
 		}
 		if (list_pipe_child &&
 		    jn->stat & STAT_DONE &&