From 42b1429b37f1365687479764b4524cac913787b7 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Tue, 19 Jul 2022 16:47:02 +0100 Subject: Also use binary exit codes in places that terminate abruptly. This is a partial reversion of commit 57330e973b3eb1f2a84803c84daf9d6b420859fd. --- src/socketengine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/socketengine.cpp') diff --git a/src/socketengine.cpp b/src/socketengine.cpp index 629203710..ac8f56289 100644 --- a/src/socketengine.cpp +++ b/src/socketengine.cpp @@ -77,7 +77,7 @@ void EventHandler::OnEventHandlerError(int errornum) void SocketEngine::InitError() { std::cerr << con_red << "FATAL ERROR!" << con_reset << " Socket engine initialization failed. " << strerror(errno) << '.' << std::endl; - exit(EXIT_STATUS_SOCKETENGINE); + InspIRCd::QuickExit(EXIT_STATUS_SOCKETENGINE); } void SocketEngine::LookupMaxFds() -- cgit v1.3.1-10-gc9f91