diff options
-rw-r--r-- | initscripts.spec | 3 | ||||
-rwxr-xr-x | rc.d/rc.sysinit | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/initscripts.spec b/initscripts.spec index 125c2da4..97232b6c 100644 --- a/initscripts.spec +++ b/initscripts.spec @@ -205,6 +205,9 @@ rm -rf $RPM_BUILD_ROOT %ghost %attr(0664,root,utmp) /var/run/utmp %changelog +* Mon Apr 18 2005 Florian La Roche <laroche@redhat.com> +- fix strstr call in rc.sysinit + * Fri Apr 15 2005 Bill Nottingham <notting@redhat.com> 8.08-1 - update translation base - automatically send hostname for DHCP if it's available and not 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 |