diff options
author | Florian La Roche <laroche@redhat.com> | 2005-04-18 05:28:10 +0000 |
---|---|---|
committer | Florian La Roche <laroche@redhat.com> | 2005-04-18 05:28:10 +0000 |
commit | f4afa34404d587c06913bb6289fe07a271ce24fe (patch) | |
tree | 0a877fd0dff0c0e7d89212f8c1febd26fc757617 /rc.d | |
parent | 6042c9146b3c66aac6b4c90fa5dfc3b54ffb3a9e (diff) | |
download | initscripts-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')
-rwxr-xr-x | rc.d/rc.sysinit | 2 |
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 |