make the sighandler handle SIGABRT
This commit is contained in:
parent
f395c141c8
commit
5b6ef3e665
|
@ -220,6 +220,7 @@ void setup_signal_handler() {
|
||||||
sigemptyset(&action.sa_mask);
|
sigemptyset(&action.sa_mask);
|
||||||
|
|
||||||
if (sigaction(SIGSEGV, &action, NULL) == -1 ||
|
if (sigaction(SIGSEGV, &action, NULL) == -1 ||
|
||||||
|
sigaction(SIGABRT, &action, NULL) == -1 ||
|
||||||
sigaction(SIGFPE, &action, NULL) == -1)
|
sigaction(SIGFPE, &action, NULL) == -1)
|
||||||
ELOG("Could not setup signal handler");
|
ELOG("Could not setup signal handler");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue