diff options
Diffstat (limited to 'reboot.c')
-rw-r--r-- | reboot.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -26,5 +26,6 @@ extern int reboot_main(int argc, char ** argv) { - exit( kill(1, SIGUSR2)); + /* don't assume init's pid == 1 */ + exit( kill(findInitPid(), SIGUSR2)); } |