(reap_children): Don't change C->file->command_state when dying.
authorRoland McGrath <roland@redhat.com>
Mon, 26 Sep 1994 23:02:40 +0000 (23:02 +0000)
committerRoland McGrath <roland@redhat.com>
Mon, 26 Sep 1994 23:02:40 +0000 (23:02 +0000)
commitc62ca423277537d236687a6ef6af93283c29d434
tree913b281ba1b9d8e659edda347fdf79002dfda8b3
parent2feb36f6204cf02d77d63af33df09cbbbe3d65b2
(reap_children): Don't change C->file->command_state when dying.
Test it only after calling start_job_command for a new command line.
When no more cmds, just set C->file->update_status.
(start_job_command): When the last line is empty or under -n, set
C->file->update_status.
(start_waiting_job): Grok cs_not_started after start_job_command as success.
(new_job): Set C->file->update_status when there are no cmds.
(job_next_command): When out of lines, don't set CHILD->file->update_status or
CHILD->file->command_state.
job.c