Formerly job.c.~75~

This commit is contained in:
Roland McGrath 1992-06-25 00:13:20 +00:00
parent a819615113
commit 7ab1580762

3
job.c
View file

@ -585,7 +585,8 @@ start_job (child)
{ {
/* Wait for the load to be low enough if this /* Wait for the load to be low enough if this
is the first command in the sequence. */ 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 /* Put this child on the chain of children waiting
for the load average to go down. */ for the load average to go down. */