]> git.sur5r.net Git - i3/i3/commitdiff
make the sighandler handle SIGABRT
authorMichael Stapelberg <michael@stapelberg.de>
Thu, 27 Jan 2011 23:47:49 +0000 (00:47 +0100)
committerMichael Stapelberg <michael@stapelberg.de>
Thu, 27 Jan 2011 23:47:49 +0000 (00:47 +0100)
src/sighandler.c

index 3a9ad82f51adbe88caddd7746809c32feac687cb..4b5fb103f41526d2bb07c29ee139ceda8d06edd5 100644 (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");
 }