diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-02-25 21:16:34 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-25 21:16:34 +0100 |
commit | 6ef0538f182c13e1691eb0e03211c949e11beed4 (patch) | |
tree | 496c301bfe51083be230f75d110ff4e6de07c2f6 /main | |
parent | 494e1cb1487c90425e3f5ae2cdf9e4046c3f550c (diff) | |
parent | 60d2c1fd47a0c24a127ea00f09724537f5527dbb (diff) |
Merge pull request #38929 from touilleMan/exit-status-on-godot-error
Fix Godot returned status code on unexpected error
Diffstat (limited to 'main')
-rw-r--r-- | main/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/main.cpp b/main/main.cpp index 71dd3cf1ad..e9b06f6b07 100644 --- a/main/main.cpp +++ b/main/main.cpp @@ -1992,7 +1992,7 @@ bool Main::start() { if (check_only) { if (!script_res->is_valid()) { - OS::get_singleton()->set_exit_code(1); + OS::get_singleton()->set_exit_code(EXIT_FAILURE); } return false; } |