diff options
author | worktycho <work.tycho@gmail.com> | 2014-06-01 18:23:02 +0200 |
---|---|---|
committer | worktycho <work.tycho@gmail.com> | 2014-06-01 18:23:02 +0200 |
commit | 750333855c7d8eeb6993e0bb27a6e505022c8a30 (patch) | |
tree | df3779aa74311a6d4eb422ada7077dfb2a18b405 | |
parent | Use abort in SIGSEGV and SIGABRT handlers (diff) | |
download | cuberite-750333855c7d8eeb6993e0bb27a6e505022c8a30.tar cuberite-750333855c7d8eeb6993e0bb27a6e505022c8a30.tar.gz cuberite-750333855c7d8eeb6993e0bb27a6e505022c8a30.tar.bz2 cuberite-750333855c7d8eeb6993e0bb27a6e505022c8a30.tar.lz cuberite-750333855c7d8eeb6993e0bb27a6e505022c8a30.tar.xz cuberite-750333855c7d8eeb6993e0bb27a6e505022c8a30.tar.zst cuberite-750333855c7d8eeb6993e0bb27a6e505022c8a30.zip |
-rw-r--r-- | src/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp index 1f458b0c1..6925d9ff1 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -61,7 +61,7 @@ void NonCtrlHandler(int a_Signal) std::signal(SIGSEGV, SIG_DFL); LOGERROR(" D: | MCServer has encountered an error and needs to close"); LOGERROR("Details | SIGSEGV: Segmentation fault"); - abort(EXIT_FAILURE); + abort(); } case SIGABRT: #ifdef SIGABRT_COMPAT @@ -71,7 +71,7 @@ void NonCtrlHandler(int a_Signal) std::signal(a_Signal, SIG_DFL); LOGERROR(" D: | MCServer has encountered an error and needs to close"); LOGERROR("Details | SIGABRT: Server self-terminated due to an internal fault"); - abort(EXIT_FAILURE); + abort(); } case SIGINT: case SIGTERM: |