aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Verschelde2018-04-04 22:35:40 +0200
committerGitHub2018-04-04 22:35:40 +0200
commit7e9aa89fb810bf3db398b4ac1a094d13cdba9183 (patch)
treef5eca685937680720e8444551a64b580e51daab8
parente223702776a7631293426e40d6f8d3a6240bb1b5 (diff)
parent1a38449ab90bbbad671e1acfa54ba98e3717daad (diff)
downloadgodot-7e9aa89fb810bf3db398b4ac1a094d13cdba9183.tar.gz
godot-7e9aa89fb810bf3db398b4ac1a094d13cdba9183.tar.zst
godot-7e9aa89fb810bf3db398b4ac1a094d13cdba9183.zip
Merge pull request #17777 from bruvzg/macos_exit_code
[macOS] Return exit code specified by `OS.exit_code` parameter.
Diffstat (limited to '')
-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 6ccbaf896..64116fa1e 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();
};