in case of SIGABRT, don't exit(0) and thus prevent creating a core file
diff --git a/openbsc/src/bsc_hack.c b/openbsc/src/bsc_hack.c
index 82cb788..9e0a260 100644
--- a/openbsc/src/bsc_hack.c
+++ b/openbsc/src/bsc_hack.c
@@ -1320,11 +1320,13 @@
 
 	switch (signal) {
 	case SIGINT:
-	case SIGABRT:
 		shutdown_net(gsmnet);
 		sleep(3);
 		exit(0);
 		break;
+	case SIGABRT:
+		/* in case of abort, we want to obtain a talloc report
+		 * and then return to the caller, who will abort the process */
 	case SIGUSR1:
 		talloc_report_full(tall_bsc_ctx, stderr);
 		break;