From d0513d6506ce34b57874ad265daf38ca67878aa0 Mon Sep 17 00:00:00 2001 From: Adam Date: Sat, 22 Oct 2011 16:11:26 -0400 Subject: A few minor fixups --- src/init.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') diff --git a/src/init.cpp b/src/init.cpp index e63f6793b..bcf49f00b 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -419,13 +419,12 @@ void Init(int ac, char **av) Log(LOG_DEBUG_3) << "Top of fork() process loop"; SocketEngine::Process(); } - SocketEngine::Shutdown(); exit(return_code); } else if (i == -1) { Log() << "Error, unable to fork: " << Anope::LastError(); - /* On a successful fork, the parents socket engine shutdown will eat these */ + nofork = true; delete sfe; delete ssc; } -- cgit