Skip to content

Commit

Permalink
Fix a bug that Fedora boot error if Ventoy partition is NTFS. (#2333)
Browse files Browse the repository at this point in the history
  • Loading branch information
ventoy committed Apr 3, 2023
1 parent 9fc8505 commit 11739fa
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions IMG/cpio/ventoy/hook/ventoy-os-lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 ]
}

0 comments on commit 11739fa

Please sign in to comment.