Revert "unblock_previous on exec_job finish"

This reverts commit 5db8065f15.
It was meant for the major branch.
This commit is contained in:
Kurtis Rader 2017-08-13 15:26:22 -07:00
parent 376cb99974
commit 8c86d258e8

View file

@ -1205,11 +1205,6 @@ void exec_job(parser_t &parser, job_t *j) {
exec_close(pipe_current_write);
pipe_current_write = -1;
}
//unblock the last process because there's no need for it to stay SIGSTOP'd for anything
if (p->is_last_in_job) {
unblock_previous();
}
}
// Clean up any file descriptors we left open.