summaryrefslogtreecommitdiff
path: root/src/inspircd.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-12-23 16:41:22 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-12-23 16:41:22 +0000
commitf9ef034ef59702e3d627d0077e93980e565f0ea7 (patch)
treeefb2830d2b08b0cd93e26df7ad5df8e68c36f7ca /src/inspircd.cpp
parentde3978c580edabe667d0845ed6027c9ff25e461b (diff)
Fix exit in wrong place, and add new exitcodes.h
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6077 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r--src/inspircd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index ab438df16..ceeaf6650 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -167,7 +167,7 @@ bool InspIRCd::DaemonSeed()
*/
while (kill(childpid, 0) != -1)
sleep(1);
- Exit(EXIT_STATUS_FORK);
+ exit(0);
}
setsid ();
umask (007);