aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
Diffstat (limited to 'rc.d')
-rwxr-xr-xrc.d/rc.sysinit2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index 7d81ace2..774964c9 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -493,7 +493,7 @@ fi
if [ -n "$SELINUX" -a -f /.autorelabel ]; then
relabel_selinux
fi
-if [ -n "$SELINUX" -a strstr "$cmdline" autorelabel ]; then
+if [ -n "$SELINUX" ] && strstr "$cmdline" autorelabel ; then
relabel_selinux
fi