aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/rc.sysinit
diff options
context:
space:
mode:
authorFlorian La Roche <laroche@redhat.com>2005-04-18 05:28:10 +0000
committerFlorian La Roche <laroche@redhat.com>2005-04-18 05:28:10 +0000
commitf4afa34404d587c06913bb6289fe07a271ce24fe (patch)
tree0a877fd0dff0c0e7d89212f8c1febd26fc757617 /rc.d/rc.sysinit
parent6042c9146b3c66aac6b4c90fa5dfc3b54ffb3a9e (diff)
downloadinitscripts-f4afa34404d587c06913bb6289fe07a271ce24fe.tar
initscripts-f4afa34404d587c06913bb6289fe07a271ce24fe.tar.gz
initscripts-f4afa34404d587c06913bb6289fe07a271ce24fe.tar.bz2
initscripts-f4afa34404d587c06913bb6289fe07a271ce24fe.tar.xz
initscripts-f4afa34404d587c06913bb6289fe07a271ce24fe.zip
- fix strstr call in rc.sysinit
Diffstat (limited to 'rc.d/rc.sysinit')
-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