summaryrefslogtreecommitdiff
path: root/job.c
diff options
context:
space:
mode:
Diffstat (limited to 'job.c')
-rw-r--r--job.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/job.c b/job.c
index a842dda..f1c919d 100644
--- a/job.c
+++ b/job.c
@@ -334,11 +334,8 @@ reap_children (block, err)
child_failed = 0;
}
- if (!err)
- /* If there are more commands to run, try to start them. */
- start_job (c);
- else
- c->file->command_state = cs_finished;
+ /* If there are more commands to run, try to start them. */
+ start_job (c);
switch (c->file->command_state)
{