Fix the warning prompt for Ventoy2Disk.sh (#2593)

pull/2442/merge
longpanda 8 months ago
parent 7f63a1c327
commit 3ff1867a2a

@ -195,7 +195,7 @@ if [ "$MODE" = "install" -a -z "$NONDESTRUCTIVE" ]; then
fi fi
if [ "$PARTTOOL" = "parted" ]; then if [ "$PARTTOOL" = "parted" ]; then
if parted $DISK p | grep -i -q 'sector size.*4096.*4096'; then if parted -s $DISK p 2>&1 | grep -i -q 'sector size.*4096.*4096'; then
vterr "Currently Ventoy does not support 4K native device." vterr "Currently Ventoy does not support 4K native device."
exit 1 exit 1
fi fi

Loading…
Cancel
Save