Commit 11739fa9 authored by longpanda's avatar longpanda
Browse files

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

parent 9fc85051
...@@ -160,9 +160,14 @@ ventoy_rw_iso_scan() { ...@@ -160,9 +160,14 @@ ventoy_rw_iso_scan() {
} }
ventoy_iso_scan_check() { ventoy_iso_scan_check() {
vtCheckOk=0
if ventoy_is_exfat_part; then if ventoy_is_exfat_part; then
if ventoy_has_exfat_ko; then if ventoy_has_exfat_ko; then
ventoy_has_iso_scan if ventoy_has_iso_scan; then
vtCheckOk=1
fi fi
fi fi
fi
[ $vtCheckOk -eq 1 ]
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment