From 805b7d3effc71d44665c0a7f590343c84e03db92 Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Sun, 7 Jul 2013 16:25:11 +0100 Subject: Fix low risk crash when we can't determine maximum open socket count. --- src/socketengines/socketengine_poll.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/socketengines/socketengine_poll.cpp') diff --git a/src/socketengines/socketengine_poll.cpp b/src/socketengines/socketengine_poll.cpp index 5c361a0cb..4f4f60b4e 100644 --- a/src/socketengines/socketengine_poll.cpp +++ b/src/socketengines/socketengine_poll.cpp @@ -107,7 +107,7 @@ PollEngine::PollEngine() { ServerInstance->Logs->Log("SOCKET", DEFAULT, "ERROR: Can't determine maximum number of open sockets: %s", strerror(errno)); std::cout << "ERROR: Can't determine maximum number of open sockets: " << strerror(errno) << std::endl; - ServerInstance->Exit(EXIT_STATUS_SOCKETENGINE); + ServerInstance->QuickExit(EXIT_STATUS_SOCKETENGINE); } #endif -- cgit v1.2.3