From 89c1ab55f1f0f416c86619932df2266b5b00f52d Mon Sep 17 00:00:00 2001 From: longpanda <59477474+ventoy@users.noreply.github.com> Date: Thu, 21 May 2020 16:09:37 +0800 Subject: [PATCH] Update ventoy_lib.sh --- INSTALL/tool/ventoy_lib.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/INSTALL/tool/ventoy_lib.sh b/INSTALL/tool/ventoy_lib.sh index 803375d8..7ae8fe3a 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)