summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/os/unix/crashlog_unix.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/os/unix/crashlog_unix.cpp b/src/os/unix/crashlog_unix.cpp
index 73644ba8d..0c2690610 100644
--- a/src/os/unix/crashlog_unix.cpp
+++ b/src/os/unix/crashlog_unix.cpp
@@ -153,14 +153,14 @@ void CDECL HandleCrash(int signum)
if (GamelogTestEmergency()) {
printf("A serious fault condition occured in the game. The game will shut down.\n");
printf("As you loaded an emergency savegame no crash information will be generated.\n");
- exit(3);
+ abort();
}
CrashLogUnix log(signum);
log.MakeCrashLog();
CrashLog::AfterCrashLogCleanup();
- exit(2);
+ abort();
}
/* static */ void CrashLog::InitialiseCrashLog()