Fix VentoyPlugson issue when ISO partition has a drive label with a space. (#1901)

This commit is contained in:
longpanda 2022-10-09 09:24:16 +08:00
parent 5590208885
commit c87ad1d734
1 changed files with 1 additions and 1 deletions

View File

@ -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