summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2018-03-26 16:55:57 +0300
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2018-03-26 16:55:57 +0300
commit1a38449ab90bbbad671e1acfa54ba98e3717daad (patch)
tree3962e251200486df2d70e7ebe6e4a2d69ee7f5c9 /platform
parent928cdb4f8a72c2de5751cddd3205c2a3c09e6f6d (diff)
[macOS] Return exit code specified by `OS.exit_code` parameter.
Diffstat (limited to 'platform')
-rw-r--r--platform/osx/godot_main_osx.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/osx/godot_main_osx.mm b/platform/osx/godot_main_osx.mm
index 6ccbaf896b..64116fa1e0 100644
--- a/platform/osx/godot_main_osx.mm
+++ b/platform/osx/godot_main_osx.mm
@@ -101,5 +101,5 @@ int main(int argc, char **argv) {
Main::cleanup();
- return 0;
+ return os.get_exit_code();
};