diff options
| author | 2022-07-19 16:47:02 +0100 | |
|---|---|---|
| committer | 2022-07-19 16:47:02 +0100 | |
| commit | 42b1429b37f1365687479764b4524cac913787b7 (patch) | |
| tree | 2d87dd41a8b1d2eb09258a62cdc0d40b1993bfa1 /src/socketengine.cpp | |
| parent | Allow forcing binary exit codes at compile time. (diff) | |
Also use binary exit codes in places that terminate abruptly.
This is a partial reversion of commit 57330e973b3eb1f2a84803c84daf9d6b420859fd.
Diffstat (limited to 'src/socketengine.cpp')
| -rw-r--r-- | src/socketengine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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() |
