bugfix: exit() is not async-signal-safe!

This commit is contained in:
IMO
2023-12-05 14:43:56 +01:00
committed by Yorik van Havre
parent 6ed5d3bc8b
commit 42740e9c56

View File

@@ -1808,7 +1808,7 @@ void segmentation_fault_handler(int sig)
#if defined(FC_DEBUG)
abort();
#else
exit(1);
_exit(1);
#endif
#else
switch (sig) {