From f355b5b742f82b077cf4f3443170cc00629e0a95 Mon Sep 17 00:00:00 2001 From: Nalin Dahyabhai Date: Thu, 11 May 2000 21:24:22 +0000 Subject: fix bug #11267 --- rc.d/rc.sysinit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rc.d/rc.sysinit') diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit index 8ce4b240..3faac368 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -253,7 +253,7 @@ rm -f /lib/modules/preferred rm -f /lib/modules/default if [ -x /sbin/depmod -a -n "$USEMODULES" ]; then # If they aren't using a recent sane kernel, make a link for them - if [ ! -n "`uname -r | grep "-"`" ]; then + if [ ! -n "`uname -r | grep -- "-"`" ]; then ktag="`cat /proc/version`" mtag=`grep -l "$ktag" /lib/modules/*/.rhkmvtag 2> /dev/null` if [ -n "$mtag" ]; then -- cgit v1.2.1