make the sighandler handle SIGABRT

next
Michael Stapelberg 2011-01-28 00:47:49 +01:00
parent f395c141c8
commit 5b6ef3e665
1 changed files with 1 additions and 0 deletions

View File

@ -220,6 +220,7 @@ void setup_signal_handler() {
sigemptyset(&action.sa_mask);
if (sigaction(SIGSEGV, &action, NULL) == -1 ||
sigaction(SIGABRT, &action, NULL) == -1 ||
sigaction(SIGFPE, &action, NULL) == -1)
ELOG("Could not setup signal handler");
}