diff options
| author | 2007-06-08 21:37:30 +0000 | |
|---|---|---|
| committer | 2007-06-08 21:37:30 +0000 | |
| commit | 07120e5d4e6fef3f4bf9039663fd826fcad9cea8 (patch) | |
| tree | e4ebb09ec7d027f479867f7a8cb346d4b36575a6 /src/inspircd.cpp | |
| parent | * Changed forking code, now the parent will attempt to retrieve the exit code... (diff) | |
- Whoops.. forgot a return here.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7258 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/inspircd.cpp')
| -rw-r--r-- | src/inspircd.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp index fe8366147..653e8f5f0 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -100,6 +100,7 @@ DWORD WindowsForkStart(InspIRCd * Instance) DWORD ExitCode = 14; GetExitCodeProcess(procinfo.hProcess, &ExitCode); CloseHandle(procinfo.hThread); + return ExitCode; } void WindowsForkKillOwner(InspIRCd * Instance) |
