]> arthur.barton.de Git - netatalk.git/commitdiff
rethrow abort
authorFrank Lahm <franklahm@googlemail.com>
Sun, 26 Sep 2010 12:13:10 +0000 (14:13 +0200)
committerFrank Lahm <franklahm@googlemail.com>
Sun, 26 Sep 2010 12:13:10 +0000 (14:13 +0200)
libatalk/util/fault.c

index c9bce38c39272a66091a6d23ca0bb0093ce4cba8..2b9ef64455f403d34201c7936cc43ef6806e63cd 100644 (file)
@@ -114,7 +114,8 @@ static void fault_report(int sig)
 {
        static int counter;
 
-       if (counter) _exit(1);
+       if (counter)
+        abort();
 
        counter++;
 
@@ -134,7 +135,7 @@ static void fault_report(int sig)
 #endif
                return; /* this should cause a core dump */
        }
-       exit(1);
+    abort();
 }
 
 /****************************************************************************