Fix `EXIT_SUCCESS` on MacOS
This commit is contained in:
parent
99ff024f78
commit
65f68fda54
|
@ -80,7 +80,7 @@ int main(int argc, char **argv) {
|
|||
@autoreleasepool {
|
||||
ret = Main::start();
|
||||
}
|
||||
if (ret) {
|
||||
if (ret == EXIT_SUCCESS) {
|
||||
os.run();
|
||||
} else {
|
||||
os.set_exit_code(EXIT_FAILURE);
|
||||
|
|
Loading…
Reference in New Issue