summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/inspircd.cpp1
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)