]> git.ipfire.org Git - thirdparty/make.git/commitdiff
Formerly job.c.~75~
authorRoland McGrath <roland@redhat.com>
Thu, 25 Jun 1992 00:13:20 +0000 (00:13 +0000)
committerRoland McGrath <roland@redhat.com>
Thu, 25 Jun 1992 00:13:20 +0000 (00:13 +0000)
job.c

diff --git a/job.c b/job.c
index 8c1d7f29f681cd33dd5148c7db5e3376ca107ef4..0eaa7f29addebd49d8d530c2647884cd20911252 100644 (file)
--- 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.  */