summaryrefslogtreecommitdiff
path: root/platform/linuxbsd
diff options
context:
space:
mode:
authorClay John <claynjohn@gmail.com>2022-10-27 11:58:50 -0700
committerGitHub <noreply@github.com>2022-10-27 11:58:50 -0700
commit9ffa86357d875451f6fb2250b2284d16d8178b4c (patch)
tree3c75706295bdfc5700553777fd073b67c839e70f /platform/linuxbsd
parent0d711cad30d675c3316201040967c587df3e39de (diff)
parent7d59a14db83bf8622cf4006ebd1d0b279a909f3d (diff)
Merge pull request #67421 from Sauermann/fix-failure-exit-code
Fix Godot exiting with unexpected failure code
Diffstat (limited to 'platform/linuxbsd')
-rw-r--r--platform/linuxbsd/godot_linuxbsd.cpp1
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();