From 7ab158076296eb70a12d4fd55b101371b8fd02c3 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Thu, 25 Jun 1992 00:13:20 +0000 Subject: [PATCH] Formerly job.c.~75~ --- job.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/job.c b/job.c index 8c1d7f2..0eaa7f2 100644 --- a/job.c +++ b/job.c @@ -585,7 +585,8 @@ start_job (child) { /* Wait for the load to be low enough if this is the first command in the sequence. */ - if (child->command_line - 1 == 0 && load_too_high ()) + if (child->command_line - 1 == 0 + && job_slots_used > 0 && load_too_high ()) { /* Put this child on the chain of children waiting for the load average to go down. */ -- 2.7.4