mirror of
https://github.com/ventoy/Ventoy.git
synced 2025-10-04 17:26:18 +00:00
Fix VentoyPlugson issue when ISO partition has a drive label with a space. (#1901)
This commit is contained in:
@@ -163,7 +163,7 @@ fi
|
|||||||
PART1=$(get_disk_part_name $DISK 1)
|
PART1=$(get_disk_part_name $DISK 1)
|
||||||
|
|
||||||
if grep -q "^$PART1 " /proc/mounts; then
|
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}')
|
fstype=$(grep "^$PART1 " /proc/mounts | awk '{print $3}')
|
||||||
|
|
||||||
if echo $fstype | grep -q -i 'fuse'; then
|
if echo $fstype | grep -q -i 'fuse'; then
|
||||||
|
Reference in New Issue
Block a user