diff options
Diffstat (limited to 'zencore/thread.cpp')
| -rw-r--r-- | zencore/thread.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zencore/thread.cpp b/zencore/thread.cpp index 864870f10..72148f57d 100644 --- a/zencore/thread.cpp +++ b/zencore/thread.cpp @@ -772,7 +772,7 @@ CreateProcResult CreateProc( { ThrowLastError("Failed to fork a new child process"); } - else + else if (ChildPid == 0) { if (Options.WorkingDirectory != nullptr) { |