summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorherman ten brugge <hermantenbrugge@home.nl>2023-11-08 21:08:54 +0100
committerherman ten brugge <hermantenbrugge@home.nl>2023-11-08 21:08:54 +0100
commitbe8f8947106854cb0eca11691aa4dc99fb4cf845 (patch)
tree7096fbc9b426c6455abfa4b80882ba06d9e8bbd1
parentfc8c01861b0be844cba114848acf2ae7ef8a658a (diff)
Check for errors before codesign
-rw-r--r--tccmacho.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tccmacho.c b/tccmacho.c
index 4d282dd..0b70457 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;