aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/exit.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/exit.c')
-rw-r--r--kernel/exit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/exit.c b/kernel/exit.c
index 405e6877168b..5be0a406faeb 100644
--- a/kernel/exit.c
+++ b/kernel/exit.c
@@ -832,7 +832,7 @@ static void reparent_thread(struct task_struct *p, struct task_struct *father)
832 /* If we'd notified the old parent about this child's death, 832 /* If we'd notified the old parent about this child's death,
833 * also notify the new parent. 833 * also notify the new parent.
834 */ 834 */
835 if (!ptrace_reparented(p) && 835 if (!p->ptrace &&
836 p->exit_state == EXIT_ZOMBIE && thread_group_empty(p)) 836 p->exit_state == EXIT_ZOMBIE && thread_group_empty(p))
837 do_notify_parent(p, p->exit_signal); 837 do_notify_parent(p, p->exit_signal);
838 838