mirror of
https://github.com/godotengine/godot.git
synced 2024-11-10 22:23:07 +00:00
Merge pull request #89234 from akien-mga/cmdline-export-fix-exit-code
Fix reporting exit code when command line export fails
This commit is contained in:
commit
1c8d082a3d
@ -995,7 +995,9 @@ void EditorNode::_fs_changed() {
|
|||||||
if (err != OK) {
|
if (err != OK) {
|
||||||
ERR_PRINT(export_error);
|
ERR_PRINT(export_error);
|
||||||
_exit_editor(EXIT_FAILURE);
|
_exit_editor(EXIT_FAILURE);
|
||||||
} else if (!export_error.is_empty()) {
|
return;
|
||||||
|
}
|
||||||
|
if (!export_error.is_empty()) {
|
||||||
WARN_PRINT(export_error);
|
WARN_PRINT(export_error);
|
||||||
}
|
}
|
||||||
_exit_editor(EXIT_SUCCESS);
|
_exit_editor(EXIT_SUCCESS);
|
||||||
|
Loading…
Reference in New Issue
Block a user