Skip to content
Commit 7e0ed2e9 authored by Sergey Bugaev's avatar Sergey Bugaev
Browse files

tree-wide: reopen log after fork when needed

This follows up on 0b1f3c76, adding more places
where we should reopen the log after forking with FORK_CLOSE_ALL_FDS.

When immediately calling exec in the child, prefer to explicitly reopen the log
after exec fails. In other cases, just use FORK_REOPEN_LOG.
parent 0e557eef
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment