summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--job.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/job.c b/job.c
index 1e77041..1aac751 100644
--- a/job.c
+++ b/job.c
@@ -621,6 +621,7 @@ start_waiting_job (c)
{
/* Put this child on the chain of children waiting
for the load average to go down. */
+ c->file->command_state = cs_running;
c->next = waiting_jobs;
waiting_jobs = c;
return;