Skip to content

Commit

Permalink
Merge pull request #89855 from Alex2782/fix_exit_code_macos
Browse files Browse the repository at this point in the history
Fix `EXIT_SUCCESS` on MacOS
  • Loading branch information
akien-mga authored Mar 24, 2024
2 parents 99ff024 + 65f68fd commit 5d08c26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platform/macos/godot_main_macos.mm
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 5d08c26

Please sign in to comment.