logging: Do not ignore stdout/stderr from the exec'd children
authorAmitay Isaacs <amitay@gmail.com>
Wed, 13 Mar 2013 00:46:18 +0000 (11:46 +1100)
committerAmitay Isaacs <amitay@gmail.com>
Mon, 25 Mar 2013 06:51:37 +0000 (17:51 +1100)
commit90560d1f9def4f42af76a1db1e7effda330f90bd
treebd66012ac7226f1aacd1766755b2e178872cdc8c
parent1520ec0262385894c086740f8486b18f29e3fb80
logging: Do not ignore stdout/stderr from the exec'd children

To log debugging information from child processes that are started
with vfork and exec, do not set close_on_exec on STDOUT and STDERR for
that process.

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
(cherry picked from commit 08c53ee609b80f87450a7a1d7dd24fbcdf5ab7bc)
server/ctdb_logging.c