diff options
author | worktycho <work.tycho@gmail.com> | 2014-06-01 18:05:51 +0200 |
---|---|---|
committer | worktycho <work.tycho@gmail.com> | 2014-06-01 18:05:51 +0200 |
commit | 476fdc99523c458506416b06d9b939d1e6065364 (patch) | |
tree | 1ad3f7264780d378e6f6d8c3b752e343936c7d79 | |
parent | Updated AlchemistVillage prefabs. (diff) | |
download | cuberite-476fdc99523c458506416b06d9b939d1e6065364.tar cuberite-476fdc99523c458506416b06d9b939d1e6065364.tar.gz cuberite-476fdc99523c458506416b06d9b939d1e6065364.tar.bz2 cuberite-476fdc99523c458506416b06d9b939d1e6065364.tar.lz cuberite-476fdc99523c458506416b06d9b939d1e6065364.tar.xz cuberite-476fdc99523c458506416b06d9b939d1e6065364.tar.zst cuberite-476fdc99523c458506416b06d9b939d1e6065364.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 68eea7f4d..1f458b0c1 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"); - exit(EXIT_FAILURE); + abort(EXIT_FAILURE); } 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"); - exit(EXIT_FAILURE); + abort(EXIT_FAILURE); } case SIGINT: case SIGTERM: |