summaryrefslogtreecommitdiff
path: root/job.c
diff options
context:
space:
mode:
Diffstat (limited to 'job.c')
-rw-r--r--job.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/job.c b/job.c
index 4213dec..ba79b30 100644
--- a/job.c
+++ b/job.c
@@ -1413,7 +1413,7 @@ new_job (file)
(This will notice if there are in fact no commands.) */
(void) start_waiting_job (c);
- if (job_slots == 1)
+ if (job_slots == 1 || not_parallel)
/* Since there is only one job slot, make things run linearly.
Wait for the child to die, setting the state to `cs_finished'. */
while (file->command_state == cs_running)