Pass stderr mode properly to vfork wrapper
This commit is contained in:
parent
df8097e31e
commit
15cd1163fc
@ -901,6 +901,7 @@ SystemExec::start (StdErrMode stderr_mode, const char *vfork_exec_wrapper)
|
||||
/* keep STDERR */
|
||||
#if defined __APPLE__&& defined ASL_LOG_DESCRIPTOR_WRITE
|
||||
::close(STDERR_FILENO);
|
||||
stderr_mode = IgnoreAndClose; // for vfork
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user