diff options
Diffstat (limited to 'kernel/exit.c')
-rw-r--r-- | kernel/exit.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/exit.c b/kernel/exit.c index abf9cf3b95c..036e8d74016 100644 --- a/kernel/exit.c +++ b/kernel/exit.c | |||
@@ -1476,6 +1476,7 @@ static int wait_consider_task(struct task_struct *parent, int ptrace, | |||
1476 | */ | 1476 | */ |
1477 | if (*notask_error) | 1477 | if (*notask_error) |
1478 | *notask_error = ret; | 1478 | *notask_error = ret; |
1479 | return 0; | ||
1479 | } | 1480 | } |
1480 | 1481 | ||
1481 | if (likely(!ptrace) && unlikely(p->ptrace)) { | 1482 | if (likely(!ptrace) && unlikely(p->ptrace)) { |