diff options
author | Christian Hesse <mail@eworm.de> | 2024-01-10 21:44:45 +0100 |
---|---|---|
committer | BenBE <BenBE@geshi.org> | 2024-01-15 17:05:05 +0100 |
commit | 49c13511c498bedf23586d660b72f4d41dbe93cd (patch) | |
tree | a21194bacd25b450941fd9a7804f5b96fcc44078 /CRT.c | |
parent | 8e40d688679a4ea7a56649b621e6be0929d72bf6 (diff) |
CRT: print message with pending changes only
Diffstat (limited to 'CRT.c')
-rw-r--r-- | CRT.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -806,6 +806,9 @@ ATTR_NORETURN static void CRT_handleSIGTERM(int sgn) { CRT_done(); + if (!CRT_crashSettings->changed) + _exit(0); + const char* signal_str = strsignal(sgn); if (!signal_str) signal_str = "unknown reason"; |