From ccb9ffb6a34eacbd684c159cb512b693a371236c Mon Sep 17 00:00:00 2001 From: Markus Sauermann <6299227+Sauermann@users.noreply.github.com> Date: Sun, 20 Nov 2022 22:27:23 +0100 Subject: [PATCH] Fix unused exitcode in macos export plugin Fix that the exitcode is never set. (cherry picked from commit 567a591f87749389e917b7713e8ab881859207e8) --- platform/osx/export/export.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/osx/export/export.cpp b/platform/osx/export/export.cpp index ffe77ff7716..0403bf63344 100644 --- a/platform/osx/export/export.cpp +++ b/platform/osx/export/export.cpp @@ -814,7 +814,7 @@ Error EditorExportPlatformOSX::_code_sign(const Ref &p_prese String str; int exitcode = 0; - Error err = OS::get_singleton()->execute("codesign", args, true, NULL, &str, NULL, true); + Error err = OS::get_singleton()->execute("codesign", args, true, NULL, &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;