summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorMarkus Sauermann <6299227+Sauermann@users.noreply.github.com>2022-11-20 22:27:23 +0100
committerMarkus Sauermann <6299227+Sauermann@users.noreply.github.com>2022-11-20 22:27:23 +0100
commit567a591f87749389e917b7713e8ab881859207e8 (patch)
tree2b1cc3169bb763c9430e4e1cd2c6f93a67427366 /platform
parent98da707df5a40d37e85070cec6babfee4fae5765 (diff)
Fix unused exitcode in macos export plugin
Fix that the exitcode is never set.
Diffstat (limited to 'platform')
-rw-r--r--platform/macos/export/export_plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/macos/export/export_plugin.cpp b/platform/macos/export/export_plugin.cpp
index b5c2e12a2f..ae8c802caf 100644
--- a/platform/macos/export/export_plugin.cpp
+++ b/platform/macos/export/export_plugin.cpp
@@ -727,7 +727,7 @@ Error EditorExportPlatformMacOS::_code_sign(const Ref<EditorExportPreset> &p_pre
String str;
int exitcode = 0;
- Error err = OS::get_singleton()->execute("codesign", args, &str, nullptr, true);
+ Error err = OS::get_singleton()->execute("codesign", args, &str, &exitcode, true);
if (err != OK) {
add_message(EXPORT_MESSAGE_WARNING, TTR("Code Signing"), TTR("Could not start codesign executable, make sure Xcode command line tools are installed."));
return err;