summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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);