diff options
Diffstat (limited to 'src/helperfuncs.cpp')
-rw-r--r-- | src/helperfuncs.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/helperfuncs.cpp b/src/helperfuncs.cpp index 2f9f8f8fd..c4cb5d744 100644 --- a/src/helperfuncs.cpp +++ b/src/helperfuncs.cpp @@ -1455,7 +1455,10 @@ void Error(int status) #endif send_error("Somebody screwed up... Whoops. IRC Server terminating."); signal(SIGSEGV, SIG_DFL); - raise(SIGSEGV); + if (raise(SIGSEGV) == -1) + { + log(DEFAULT,"What the hell, i couldnt re-raise SIGSEGV! Error: %s",strerror(errno)); + } Exit(status); } |