aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/signal.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/signal.c')
-rw-r--r--kernel/signal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/signal.c b/kernel/signal.c
index efba39626e66..24d5059ab0a9 100644
--- a/kernel/signal.c
+++ b/kernel/signal.c
@@ -1657,7 +1657,7 @@ finish_stop(int stop_count)
1657 * a group stop in progress and we are the last to stop, 1657 * a group stop in progress and we are the last to stop,
1658 * report to the parent. When ptraced, every thread reports itself. 1658 * report to the parent. When ptraced, every thread reports itself.
1659 */ 1659 */
1660 if (stop_count < 0 || (current->ptrace & PT_PTRACED)) 1660 if (current->ptrace & PT_PTRACED)
1661 to_self = 1; 1661 to_self = 1;
1662 else if (stop_count == 0) 1662 else if (stop_count == 0)
1663 to_self = 0; 1663 to_self = 0;