From: longpanda <59477474+ventoy@users.noreply.github.com> Date: Thu, 21 May 2020 08:09:37 +0000 (+0800) Subject: Update ventoy_lib.sh X-Git-Tag: v1.0.11~3 X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/Ventoy.git/commitdiff_plain/89c1ab55f1f0f416c86619932df2266b5b00f52d?ds=inline Update ventoy_lib.sh --- diff --git a/INSTALL/tool/ventoy_lib.sh b/INSTALL/tool/ventoy_lib.sh index 803375d..7ae8fe3 100644 --- a/INSTALL/tool/ventoy_lib.sh +++ b/INSTALL/tool/ventoy_lib.sh @@ -210,6 +210,7 @@ get_disk_ventoy_version() { format_ventoy_disk() { DISK=$1 + PART1=$(get_disk_part_name $DISK 1) PART2=$(get_disk_part_name $DISK 2) sector_num=$(cat /sys/block/${DISK#/dev/}/size)