diff options
Diffstat (limited to 'kernel/signal.c')
-rw-r--r-- | kernel/signal.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/signal.c b/kernel/signal.c index b14f895027c3..e5f8aea78ffe 100644 --- a/kernel/signal.c +++ b/kernel/signal.c | |||
@@ -1754,9 +1754,9 @@ relock: | |||
1754 | /* Let the debugger run. */ | 1754 | /* Let the debugger run. */ |
1755 | ptrace_stop(signr, signr, info); | 1755 | ptrace_stop(signr, signr, info); |
1756 | 1756 | ||
1757 | /* We're back. Did the debugger cancel the sig or group_exit? */ | 1757 | /* We're back. Did the debugger cancel the sig? */ |
1758 | signr = current->exit_code; | 1758 | signr = current->exit_code; |
1759 | if (signr == 0 || current->signal->flags & SIGNAL_GROUP_EXIT) | 1759 | if (signr == 0) |
1760 | continue; | 1760 | continue; |
1761 | 1761 | ||
1762 | current->exit_code = 0; | 1762 | current->exit_code = 0; |