aboutsummaryrefslogtreecommitdiff
path: root/reboot.c
diff options
context:
space:
mode:
Diffstat (limited to 'reboot.c')
-rw-r--r--reboot.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/reboot.c b/reboot.c
index 6e1f3d53b..bde8dbd77 100644
--- a/reboot.c
+++ b/reboot.c
@@ -28,9 +28,9 @@ extern int reboot_main(int argc, char **argv)
28{ 28{
29#ifdef BB_FEATURE_LINUXRC 29#ifdef BB_FEATURE_LINUXRC
30 /* don't assume init's pid == 1 */ 30 /* don't assume init's pid == 1 */
31 exit(kill(*(findPidByName("init")), SIGINT)); 31 return(kill(*(findPidByName("init")), SIGINT));
32#else 32#else
33 exit(kill(1, SIGINT)); 33 return(kill(1, SIGINT));
34#endif 34#endif
35} 35}
36 36