Formerly job.c.~85~
authorRoland McGrath <roland@redhat.com>
Thu, 12 Nov 1992 20:45:29 +0000 (20:45 +0000)
committerRoland McGrath <roland@redhat.com>
Thu, 12 Nov 1992 20:45:29 +0000 (20:45 +0000)
job.c

diff --git a/job.c b/job.c
index 1a55be7..3ed0569 100644 (file)
--- a/job.c
+++ b/job.c
@@ -513,6 +513,11 @@ start_job_command (child)
       free ((char *) argv);
       if (job_next_command (child))
        start_job_command (child);
+      else
+       /* Normally, this is set by reap_children to indicate that
+          some commands were actually run.  Under -n, reap_children
+          never gets called, so we increment it here.  */
+       ++files_remade;
       return;
     }