aboutsummaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
Diffstat (limited to 'init')
-rw-r--r--init/reboot.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/init/reboot.c b/init/reboot.c
index 53a3520e1..17ec9f82f 100644
--- a/init/reboot.c
+++ b/init/reboot.c
@@ -26,5 +26,6 @@
26extern int 26extern int
27reboot_main(int argc, char ** argv) 27reboot_main(int argc, char ** argv)
28{ 28{
29 exit( kill(1, SIGUSR2)); 29 /* don't assume init's pid == 1 */
30 exit( kill(findInitPid(), SIGUSR2));
30} 31}