]> glassweightruler.freedombox.rocks Git - Ventoy.git/commitdiff
misc update
authorlongpanda <admin@ventoy.net>
Tue, 13 Apr 2021 08:46:23 +0000 (16:46 +0800)
committerlongpanda <admin@ventoy.net>
Tue, 13 Apr 2021 08:46:23 +0000 (16:46 +0800)
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