Revert "Removed old/unneeded variants of block_child"

This reverts commit 8e63386203.
It was meant for the major branch.
This commit is contained in:
Kurtis Rader 2017-08-13 15:25:45 -07:00
parent a3863b22a7
commit 177256064c

View File

@ -519,6 +519,8 @@ void exec_job(parser_t &parser, job_t *j) {
//set to true if we end up forking for this process
bool child_forked = false;
bool child_spawned = false;
// bool block_child = !needs_keepalive;
// bool block_child = pipes_to_next_command;
bool block_child = true;
// The pipes the current process write to and read from. Unfortunately these can't be just