mirror of
https://github.com/godotengine/godot.git
synced 2024-11-27 09:16:35 +08:00
Merge pull request #89855 from Alex2782/fix_exit_code_macos
Fix `EXIT_SUCCESS` on MacOS
This commit is contained in:
commit
5d08c2631c
@ -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
Block a user