Changed bb_regcomp to xregcomp and #if 0'ed out destroy_cmd_strs in sed.c
[oweals/busybox.git] / reboot.c
index 6e1f3d53b462d1eadb14064cf8d64c5709c95bda..bde8dbd7750d7dc1511f80c9f1ed141e94a81fce 100644 (file)
--- a/reboot.c
+++ b/reboot.c
@@ -28,9 +28,9 @@ extern int reboot_main(int argc, char **argv)
 {
 #ifdef BB_FEATURE_LINUXRC
        /* don't assume init's pid == 1 */
-       exit(kill(*(findPidByName("init")), SIGINT));
+       return(kill(*(findPidByName("init")), SIGINT));
 #else
-       exit(kill(1, SIGINT));
+       return(kill(1, SIGINT));
 #endif
 }