diff options
-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 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 |