Make die exit using _exit

Exiting the standard way on error caused teardown in bad state problems.

Signed-off-by: Justin Husted <sigstop@gmail.com>
This commit is contained in:
Justin Husted 2019-12-29 03:07:56 -08:00
parent f24bf2af6b
commit c54ea51416

View File

@ -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, ...)