diff options
author | Roland McGrath <roland@redhat.com> | 1994-11-01 08:34:10 +0000 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 1994-11-01 08:34:10 +0000 |
commit | c0163410d2db04634eed225d3a37e39aeb7bd44a (patch) | |
tree | d403d361da61078e414a930c1eb8478ffe9ac21c /job.c | |
parent | eac1e9ee66eb2e6b294f05d33d0b5fae8cd24d44 (diff) | |
download | gunmake-c0163410d2db04634eed225d3a37e39aeb7bd44a.tar.gz |
(start_job_command): When ARGV is nil, only set update_state and call
notice_finished_file if job_next_command returns zero.
Diffstat (limited to 'job.c')
-rw-r--r-- | job.c | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -594,8 +594,12 @@ start_job_command (child) /* This line has no commands. Go to the next. */ if (job_next_command (child)) start_job_command (child); - child->file->update_status = 0; - notice_finished_file (child->file); + else + { + /* No more commands. All done. */ + child->file->update_status = 0; + notice_finished_file (child->file); + } return; } |