From: Michael Stapelberg Date: Thu, 27 Jan 2011 23:47:49 +0000 (+0100) Subject: make the sighandler handle SIGABRT X-Git-Tag: tree-pr2~85 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5b6ef3e665eacec38dcbcde93c83090864477eb7;p=i3%2Fi3 make the sighandler handle SIGABRT --- 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"); }