summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2011-10-22 16:11:26 -0400
committerAdam <Adam@anope.org>2011-10-22 16:11:26 -0400
commitd0513d6506ce34b57874ad265daf38ca67878aa0 (patch)
tree0707dcfba240b8ce5727fed96fcb8876cb7b58cb /src
parentf4a0bdd54d80e740026b05c63ada4e71650a1959 (diff)
A few minor fixups
Diffstat (limited to 'src')
-rw-r--r--src/init.cpp3
1 files changed, 1 insertions, 2 deletions
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;
}