diff options
Diffstat (limited to 'common/log.c')
-rw-r--r-- | common/log.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/log.c b/common/log.c index adba0021..6d958db2 100644 --- a/common/log.c +++ b/common/log.c | |||
@@ -58,7 +58,7 @@ void sway_abort(const char *format, ...) { | |||
58 | vfprintf(stderr, format, args); | 58 | vfprintf(stderr, format, args); |
59 | va_end(args); | 59 | va_end(args); |
60 | fprintf(stderr, "\n"); | 60 | fprintf(stderr, "\n"); |
61 | sway_terminate(); | 61 | sway_terminate(EXIT_FAILURE); |
62 | } | 62 | } |
63 | 63 | ||
64 | #ifndef NDEBUG | 64 | #ifndef NDEBUG |