Revert "Fixed exec failure regression"

This reverts commit 8b8a21dcad.
It was meant for the major branch.
This commit is contained in:
Kurtis Rader
2017-08-13 15:28:28 -07:00
parent ab4dde6c7f
commit 9af7720f19

View File

@@ -250,9 +250,8 @@ static int handle_child_io(const io_chain_t &io_chain) {
}
int setup_child_process(job_t *j, process_t *p, const io_chain_t &io_chain) {
bool ok = true;
bool ok = false;
//p is zero when EXEC_INTERNAL
if (p) {
ok = child_set_group(j, p);
}