aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/ptrace.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/ptrace.c')
-rw-r--r--kernel/ptrace.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/ptrace.c b/kernel/ptrace.c
index 66a28bd71ef6..d7ccc79454f5 100644
--- a/kernel/ptrace.c
+++ b/kernel/ptrace.c
@@ -384,7 +384,6 @@ static bool __ptrace_detach(struct task_struct *tracer, struct task_struct *p)
384 dead = do_notify_parent(p, p->exit_signal); 384 dead = do_notify_parent(p, p->exit_signal);
385 else if (ignoring_children(tracer->sighand)) { 385 else if (ignoring_children(tracer->sighand)) {
386 __wake_up_parent(p, tracer); 386 __wake_up_parent(p, tracer);
387 p->exit_signal = -1;
388 dead = true; 387 dead = true;
389 } 388 }
390 } 389 }