aboutsummaryrefslogtreecommitdiff
path: root/init/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'init/init.c')
-rw-r--r--init/init.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/init/init.c b/init/init.c
index 9891087f5..fe0ec030a 100644
--- a/init/init.c
+++ b/init/init.c
@@ -11,9 +11,6 @@
11 11
12#include "libbb.h" 12#include "libbb.h"
13#include <paths.h> 13#include <paths.h>
14//#include <signal.h>
15//#include <sys/ioctl.h>
16//#include <sys/wait.h>
17#include <sys/reboot.h> 14#include <sys/reboot.h>
18 15
19#if ENABLE_FEATURE_INIT_SYSLOG 16#if ENABLE_FEATURE_INIT_SYSLOG
@@ -977,7 +974,6 @@ int init_main(int argc, char **argv)
977 BB_EXECVP(argv[0], argv); 974 BB_EXECVP(argv[0], argv);
978 } else if (enforce > 0) { 975 } else if (enforce > 0) {
979 /* SELinux in enforcing mode but load_policy failed */ 976 /* SELinux in enforcing mode but load_policy failed */
980 /* At this point, we probably can't open /dev/console, so log() won't work */
981 message(L_CONSOLE, "Cannot load SELinux Policy. " 977 message(L_CONSOLE, "Cannot load SELinux Policy. "
982 "Machine is in enforcing mode. Halting now."); 978 "Machine is in enforcing mode. Halting now.");
983 exit(1); 979 exit(1);