Fix the boot issue for Fedora/CentOS when file name contains special character (e.g. '(' ) #2360

This commit is contained in:
longpanda
2023-04-21 20:05:30 +08:00
parent 0961ce5624
commit 84b2ee7ee3
6 changed files with 37 additions and 1 deletions

View File

@@ -125,6 +125,7 @@ fi
#iso-scan (currently only for Fedora)
if $GREP -q Fedora /etc/os-release; then
if /ventoy/tool/vtoydump -a /ventoy/ventoy_os_param; then
if ventoy_iso_scan_check; then
echo "iso_scan process ..." >> $VTLOG
@@ -139,6 +140,7 @@ if $GREP -q Fedora /etc/os-release; then
exit 0
fi
fi
fi