mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-03-10 00:00:04 +03:00
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:
parent
f24bf2af6b
commit
c54ea51416
@ -31,7 +31,7 @@ void die(const char *fmt, ...)
|
|||||||
va_end(args);
|
va_end(args);
|
||||||
fputc('\n', stderr);
|
fputc('\n', stderr);
|
||||||
|
|
||||||
exit(EXIT_FAILURE);
|
_exit(EXIT_FAILURE);
|
||||||
}
|
}
|
||||||
|
|
||||||
char *mprintf(const char *fmt, ...)
|
char *mprintf(const char *fmt, ...)
|
||||||
|
Loading…
Reference in New Issue
Block a user