summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--exec/exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/exec/exec.c b/exec/exec.c
index 6a5c18a2..1655aeaa 100644
--- a/exec/exec.c
+++ b/exec/exec.c
@@ -1623,7 +1623,7 @@ do_exec (file_t file,
}
out:
- if (e.interp.section)
+ if (interp.file != MACH_PORT_NULL)
finish (&interp, 1);
finish (&e, !e.error);