No need to unblock last process since it will no longer be SIGSTOP'd

This commit is contained in:
Mahmoud Al-Qudsi 2017-07-27 17:17:11 -05:00 committed by Kurtis Rader
parent abf6874a2d
commit 30aa8b3663

View File

@ -1199,13 +1199,6 @@ void exec_job(parser_t &parser, job_t *j) {
}
}
//unblock the last process in the group
if (blocked_pid != -1)
{
kill(blocked_pid, SIGCONT);
blocked_pid = -1;
}
// Clean up any file descriptors we left open.
if (pipe_current_read >= 0) exec_close(pipe_current_read);
if (pipe_current_write >= 0) exec_close(pipe_current_write);