init: trivial compile fix
This commit is contained in:
parent
cce38586ae
commit
b716754199
@ -987,7 +987,8 @@ int init_main(int argc, char **argv)
|
|||||||
} else if (enforce > 0) {
|
} else if (enforce > 0) {
|
||||||
/* SELinux in enforcing mode but load_policy failed */
|
/* SELinux in enforcing mode but load_policy failed */
|
||||||
/* At this point, we probably can't open /dev/console, so log() won't work */
|
/* At this point, we probably can't open /dev/console, so log() won't work */
|
||||||
message(CONSOLE, "Cannot load SELinux Policy. Machine is in enforcing mode. Halting now.");
|
message(L_CONSOLE, "Cannot load SELinux Policy. "
|
||||||
|
"Machine is in enforcing mode. Halting now.");
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1014,7 +1015,6 @@ int init_main(int argc, char **argv)
|
|||||||
signal(SIGHUP, SIG_IGN);
|
signal(SIGHUP, SIG_IGN);
|
||||||
#endif /* FEATURE_USE_INITTAB */
|
#endif /* FEATURE_USE_INITTAB */
|
||||||
|
|
||||||
|
|
||||||
/* Now run the looping stuff for the rest of forever */
|
/* Now run the looping stuff for the rest of forever */
|
||||||
while (1) {
|
while (1) {
|
||||||
/* run the respawn stuff */
|
/* run the respawn stuff */
|
||||||
|
Loading…
Reference in New Issue
Block a user