From f9ef034ef59702e3d627d0077e93980e565f0ea7 Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 23 Dec 2006 16:41:22 +0000 Subject: 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 --- src/inspircd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/inspircd.cpp') 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); -- cgit v1.2.3