mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 07:53:26 +00:00
Fix reporting exit code when command line export fails
Fixes #83042.
(cherry picked from commit 51bfda9446
)
This commit is contained in:
parent
036c9715c2
commit
1281517746
1 changed files with 3 additions and 1 deletions
|
@ -1003,7 +1003,9 @@ void EditorNode::_fs_changed() {
|
|||
if (err != OK) {
|
||||
ERR_PRINT(export_error);
|
||||
_exit_editor(EXIT_FAILURE);
|
||||
} else if (!export_error.is_empty()) {
|
||||
return;
|
||||
}
|
||||
if (!export_error.is_empty()) {
|
||||
WARN_PRINT(export_error);
|
||||
}
|
||||
_exit_editor(EXIT_SUCCESS);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue