From be8f8947106854cb0eca11691aa4dc99fb4cf845 Mon Sep 17 00:00:00 2001 From: herman ten brugge Date: Wed, 8 Nov 2023 21:08:54 +0100 Subject: [PATCH] Check for errors before codesign --- tccmacho.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tccmacho.c b/tccmacho.c index 4d282ddb..0b70457c 100644 --- a/tccmacho.c +++ b/tccmacho.c @@ -2235,7 +2235,7 @@ ST_FUNC int macho_output_file(TCCState *s1, const char *filename) fclose(fp); #ifdef CONFIG_CODESIGN - { + if (!ret) { char command[1024]; int retval;