From: longpanda Date: Sun, 9 Oct 2022 01:24:16 +0000 (+0800) Subject: Fix VentoyPlugson issue when ISO partition has a drive label with a space. (#1901) X-Git-Tag: v1.0.81~6 X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/Ventoy.git/commitdiff_plain/c87ad1d734f472332fea8e80eb74cda144f9e85b Fix VentoyPlugson issue when ISO partition has a drive label with a space. (#1901) --- diff --git a/INSTALL/VentoyPlugson.sh b/INSTALL/VentoyPlugson.sh index 5ded186..5394a36 100644 --- a/INSTALL/VentoyPlugson.sh +++ b/INSTALL/VentoyPlugson.sh @@ -163,7 +163,7 @@ fi PART1=$(get_disk_part_name $DISK 1) if grep -q "^$PART1 " /proc/mounts; then - mtpnt=$(grep "^$PART1 " /proc/mounts | awk '{print $2}') + mtpnt=$(grep "^$PART1 " /proc/mounts | awk '{print $2}' | sed 's/\\040/ /g') fstype=$(grep "^$PART1 " /proc/mounts | awk '{print $3}') if echo $fstype | grep -q -i 'fuse'; then