Fix a bug that Fedora boot error if Ventoy partition is NTFS. (#2333)

This commit is contained in:
longpanda 2023-04-03 21:49:21 +08:00
parent 9fc85051a7
commit 11739fa9d0
1 changed files with 7 additions and 2 deletions

View File

@ -160,9 +160,14 @@ ventoy_rw_iso_scan() {
}
ventoy_iso_scan_check() {
vtCheckOk=0
if ventoy_is_exfat_part; then
if ventoy_has_exfat_ko; then
ventoy_has_iso_scan
if ventoy_has_iso_scan; then
vtCheckOk=1
fi
fi
fi
}
[ $vtCheckOk -eq 1 ]
}