Fix EXIT_SUCCESS on MacOS

This commit is contained in:
Alexander Hartmann 2024-03-24 17:08:25 +01:00
parent 99ff024f78
commit 65f68fda54

View File

@ -80,7 +80,7 @@ int main(int argc, char **argv) {
@autoreleasepool { @autoreleasepool {
ret = Main::start(); ret = Main::start();
} }
if (ret) { if (ret == EXIT_SUCCESS) {
os.run(); os.run();
} else { } else {
os.set_exit_code(EXIT_FAILURE); os.set_exit_code(EXIT_FAILURE);