]> glassweightruler.freedombox.rocks Git - Ventoy.git/blobdiff - IMG/cpio/ventoy/hook/rhel7/ventoy-hook.sh
misc update
[Ventoy.git] / IMG / cpio / ventoy / hook / rhel7 / ventoy-hook.sh
index 5e57ec25039c464413fdbb6b8097e1ec443e7c93..206b92fa9bd3b96b3b8b07da35345d26d07b0936 100644 (file)
@@ -87,7 +87,7 @@ $BUSYBOX_PATH/cp -a $VTOY_PATH/hook/rhel7/ventoy-timeout.sh /lib/dracut/hooks/in
 
 vtNeedRepo=
 if [ -f /etc/system-release ]; then
-    if $GREP -q 'RED OS' /etc/system-release ]; then
+    if $GREP -q 'RED OS' /etc/system-release; then
         vtNeedRepo="yes"
     fi
 fi