aboutsummaryrefslogtreecommitdiff
path: root/halt.c
diff options
context:
space:
mode:
Diffstat (limited to 'halt.c')
-rw-r--r--halt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/halt.c b/halt.c
index ecc6e8f30..23eb23c30 100644
--- a/halt.c
+++ b/halt.c
@@ -26,6 +26,7 @@
26extern int 26extern int
27halt_main(int argc, char ** argv) 27halt_main(int argc, char ** argv)
28{ 28{
29 exit( kill(1, SIGUSR1)); 29 /* don't assume init's pid == 1 */
30 exit( kill(findInitPid(), SIGUSR1));
30} 31}
31 32