From be4bc31c7f2b4e022dcceef3208564fa7be83dbb Mon Sep 17 00:00:00 2001
From: Danny Auble <da@schedmd.com>
Date: Mon, 24 Oct 2016 13:24:03 -0600
Subject: [PATCH] Revert "On a fatal, abort so we get a core file instead of
 just exiting."

This reverts commit 428347cf34650131f9cd84ce11bb2195b5ef6daf.

Decided we didn't want a core dump on ever fatal, as fatal is used
in other programs instead of just the daemons.
---
 src/common/log.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/common/log.c b/src/common/log.c
index 0d8ad8baf9a..fe0f4d34526 100644
--- a/src/common/log.c
+++ b/src/common/log.c
@@ -1146,7 +1146,7 @@ void fatal(const char *fmt, ...)
 	log_flush();
 	fatal_cleanup();
 
-	abort();
+	exit(1);
 }
 
 int error(const char *fmt, ...)
-- 
GitLab