Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]>
- Loading branch information