summaryrefslogtreecommitdiff
path: root/lib/command_graph.c
diff options
context:
space:
mode:
authorVladislav Odintsov <vlodintsov@k2.cloud>2024-09-04 14:18:35 +0300
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2024-10-01 07:48:43 +0000
commit5939b82397fba31a23201f4dd926957842214b2e (patch)
treed9e19a91fd72c0032274b9acbcd0edd570de9daf /lib/command_graph.c
parentcf5b42e3fe06f43892bcbe786d88a33c618ad29e (diff)
lib: Attach stdout to child only if --log=stdout and stdout FD is a tty
Prior to this commit stdout of a process started in a daemon mode was attached to a calling process. As a result a calling process hung for infinity. Signed-off-by: Vladislav Odintsov <vlodintsov@k2.cloud> (cherry picked from commit 0e3c5e8e5907321b35201f0985c1d3f4a1b0e639)
Diffstat (limited to 'lib/command_graph.c')
0 files changed, 0 insertions, 0 deletions