From c54ea514161689e33be8397ddecc686d81ae2ca7 Mon Sep 17 00:00:00 2001 From: Justin Husted Date: Sun, 29 Dec 2019 03:07:56 -0800 Subject: [PATCH] Make die exit using _exit Exiting the standard way on error caused teardown in bad state problems. Signed-off-by: Justin Husted --- tools-util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools-util.c b/tools-util.c index e4d2beae..f7ca5980 100644 --- a/tools-util.c +++ b/tools-util.c @@ -31,7 +31,7 @@ void die(const char *fmt, ...) va_end(args); fputc('\n', stderr); - exit(EXIT_FAILURE); + _exit(EXIT_FAILURE); } char *mprintf(const char *fmt, ...)