aboutsummaryrefslogtreecommitdiff
path: root/procps/kill.c
diff options
context:
space:
mode:
Diffstat (limited to 'procps/kill.c')
-rw-r--r--procps/kill.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/procps/kill.c b/procps/kill.c
index f22bdbe46..1b31a7291 100644
--- a/procps/kill.c
+++ b/procps/kill.c
@@ -84,9 +84,10 @@ do_it_now:
84 pid_t sid; 84 pid_t sid;
85 procps_status_t* p; 85 procps_status_t* p;
86 86
87 /* kill(-1, sig) on Linux (at least 2.1.x) 87// Cannot happen anyway? We don't TERM ourself, we STOP
88 * might send signal to the calling process too */ 88// /* kill(-1, sig) on Linux (at least 2.1.x)
89 signal(SIGTERM, SIG_IGN); 89// * might send signal to the calling process too */
90// signal(SIGTERM, SIG_IGN);
90 /* Now stop all processes */ 91 /* Now stop all processes */
91 kill(-1, SIGSTOP); 92 kill(-1, SIGSTOP);
92 /* Find out our own session id */ 93 /* Find out our own session id */