diff options
| author | gingerBill <bill@gingerbill.org> | 2024-03-19 16:29:45 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2024-03-19 16:29:45 +0000 |
| commit | 433109ff52d2db76069273cd53b7aebf6aea9be0 (patch) | |
| tree | ffe7906fd48209f6afda1ff44f847c64f582e2ef /src/main.cpp | |
| parent | ba428fecdb309846b9a6dc8a6a3d738f2034f2ff (diff) | |
Replace `gb_exit(1)` with `exit_with_errors()` where appropriate
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index 672a9318e..ab721a143 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1404,7 +1404,7 @@ gb_internal void timings_export_all(Timings *t, Checker *c, bool timings_are_fin gbFileError err = gb_file_open_mode(&f, gbFileMode_Write, fileName); if (err != gbFileError_None) { gb_printf_err("Failed to export timings to: %s\n", fileName); - gb_exit(1); + exit_with_errors(); return; } else { gb_printf("\nExporting timings to '%s'... ", fileName); |