aboutsummaryrefslogtreecommitdiff
path: root/src/socketengine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/socketengine.cpp')
-rw-r--r--src/socketengine.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/socketengine.cpp b/src/socketengine.cpp
index c760b1a12..42b54062d 100644
--- a/src/socketengine.cpp
+++ b/src/socketengine.cpp
@@ -35,7 +35,6 @@
#include <fmt/color.h>
#include "inspircd.h"
-#include "exitcodes.h"
/** Reference table, contains all current handlers
**/
@@ -71,7 +70,7 @@ void EventHandler::OnEventHandlerError(int errornum)
void SocketEngine::InitError()
{
fmt::println(stderr, "{} Socket engine initialization failed. {}.", fmt::styled("FATAL ERROR!", fmt::emphasis::bold | fmt::fg(fmt::terminal_color::red)), strerror(errno));
- InspIRCd::QuickExit(EXIT_STATUS_SOCKETENGINE);
+ InspIRCd::QuickExit(EXIT_FAILURE);
}
void SocketEngine::LookupMaxFds()