summaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-01-27 19:57:14 +0100
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-01-27 19:57:26 +0100
commitfc9e5278304adf811becf90e62311c1318e9658d (patch)
tree5ed769b9e7345c600efce34b14fe9e91f7a9cba7 /src/main.cpp
parentFixed client packet parsing. (diff)
downloadcuberite-fc9e5278304adf811becf90e62311c1318e9658d.tar
cuberite-fc9e5278304adf811becf90e62311c1318e9658d.tar.gz
cuberite-fc9e5278304adf811becf90e62311c1318e9658d.tar.bz2
cuberite-fc9e5278304adf811becf90e62311c1318e9658d.tar.lz
cuberite-fc9e5278304adf811becf90e62311c1318e9658d.tar.xz
cuberite-fc9e5278304adf811becf90e62311c1318e9658d.tar.zst
cuberite-fc9e5278304adf811becf90e62311c1318e9658d.zip
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 9acc7db3a..c8cd2d4fe 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -69,6 +69,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);
break;
}
case SIGINT: