summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-08-24 19:19:57 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-08-24 19:19:57 +0000
commita539875eccf01c6d0a5fb21649d10a23ad191b23 (patch)
tree69fdd9879082089a848f42311917eccaa784c691 /src
parent7eb54577bb3b8cdb2fa9a2ebfb537fa2f369d6b5 (diff)
Properly give the service specific exit code on failure to start. Now we just need to find out how to retrieve this
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10240 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/server.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/server.cpp b/src/server.cpp
index a87612449..d8ab76425 100644
--- a/src/server.cpp
+++ b/src/server.cpp
@@ -36,6 +36,7 @@ void InspIRCd::Exit(int status)
#ifdef WINDOWS
if (WindowsIPC)
delete WindowsIPC;
+ SetServiceStopped(status);
#endif
if (this)
{