From c87ad1d734f472332fea8e80eb74cda144f9e85b Mon Sep 17 00:00:00 2001 From: longpanda Date: Sun, 9 Oct 2022 09:24:16 +0800 Subject: [PATCH] Fix VentoyPlugson issue when ISO partition has a drive label with a space. (#1901) --- INSTALL/VentoyPlugson.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.3