From 5b6ef3e665eacec38dcbcde93c83090864477eb7 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Fri, 28 Jan 2011 00:47:49 +0100 Subject: [PATCH] make the sighandler handle SIGABRT --- src/sighandler.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/sighandler.c b/src/sighandler.c index 3a9ad82f..4b5fb103 100644 --- a/src/sighandler.c +++ b/src/sighandler.c @@ -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"); }