From 9af7720f19f87f48d73edcda7c27069f8e85c598 Mon Sep 17 00:00:00 2001 From: Kurtis Rader Date: Sun, 13 Aug 2017 15:28:28 -0700 Subject: [PATCH] Revert "Fixed exec failure regression" This reverts commit 8b8a21dcad2505aec15753f308045ae739eda918. It was meant for the major branch. --- src/postfork.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/postfork.cpp b/src/postfork.cpp index 999324bd1..6832d748e 100644 --- a/src/postfork.cpp +++ b/src/postfork.cpp @@ -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); }