SIGABRT exits with failure.
This commit is contained in:
parent
30c431b479
commit
fc9e527830
@ -69,6 +69,7 @@ void NonCtrlHandler(int a_Signal)
|
|||||||
std::signal(a_Signal, SIG_DFL);
|
std::signal(a_Signal, SIG_DFL);
|
||||||
LOGERROR(" D: | MCServer has encountered an error and needs to close");
|
LOGERROR(" D: | MCServer has encountered an error and needs to close");
|
||||||
LOGERROR("Details | SIGABRT: Server self-terminated due to an internal fault");
|
LOGERROR("Details | SIGABRT: Server self-terminated due to an internal fault");
|
||||||
|
exit(EXIT_FAILURE);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case SIGINT:
|
case SIGINT:
|
||||||
|
Loading…
Reference in New Issue
Block a user