diff options
author | Clay John <claynjohn@gmail.com> | 2022-10-27 11:58:50 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-27 11:58:50 -0700 |
commit | 9ffa86357d875451f6fb2250b2284d16d8178b4c (patch) | |
tree | 3c75706295bdfc5700553777fd073b67c839e70f | |
parent | 0d711cad30d675c3316201040967c587df3e39de (diff) | |
parent | 7d59a14db83bf8622cf4006ebd1d0b279a909f3d (diff) |
Merge pull request #67421 from Sauermann/fix-failure-exit-code
Fix Godot exiting with unexpected failure code
-rw-r--r-- | platform/linuxbsd/godot_linuxbsd.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/linuxbsd/godot_linuxbsd.cpp b/platform/linuxbsd/godot_linuxbsd.cpp index 91a260182e..fa5e20891c 100644 --- a/platform/linuxbsd/godot_linuxbsd.cpp +++ b/platform/linuxbsd/godot_linuxbsd.cpp @@ -69,6 +69,7 @@ int main(int argc, char *argv[]) { } if (Main::start()) { + os.set_exit_code(EXIT_SUCCESS); os.run(); // it is actually the OS that decides how to run } Main::cleanup(); |