summaryrefslogtreecommitdiff
path: root/proc
diff options
context:
space:
mode:
Diffstat (limited to 'proc')
-rw-r--r--proc/mgt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/proc/mgt.c b/proc/mgt.c
index d7ad2961..5db1fe8c 100644
--- a/proc/mgt.c
+++ b/proc/mgt.c
@@ -458,6 +458,8 @@ S_proc_exception_raise (mach_port_t excport,
ports_port_deref (e);
mach_port_deallocate (mach_task_self (), thread);
mach_port_deallocate (mach_task_self (), task);
+ if (err)
+ return err;
return MIG_NO_REPLY;
default: