summaryrefslogtreecommitdiff
path: root/src/server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server.cpp')
-rw-r--r--src/server.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/server.cpp b/src/server.cpp
index 2722c6831..4568c43fd 100644
--- a/src/server.cpp
+++ b/src/server.cpp
@@ -31,6 +31,7 @@ void InspIRCd::SignalHandler(int signal)
void InspIRCd::Exit(int status)
{
+ printf("exit with status %d\n", status);
#ifdef WINDOWS
delete WindowsIPC;
#endif
@@ -38,8 +39,9 @@ void InspIRCd::Exit(int status)
{
this->SendError("Exiting with status " + ConvToStr(status) + " (" + std::string(ExitCodes[status]) + ")");
this->Cleanup();
- }
- exit (status);
+ }
+ printf("Exit done.\n");
+ exit (status);
}
void InspIRCd::Rehash()