mirror of
https://github.com/ventoy/Ventoy.git
synced 2025-04-15 00:36:17 -04:00
Fix VentoyPlugson issue when ISO partition has a drive label with a space. (#1901)
This commit is contained in:
parent
5590208885
commit
c87ad1d734
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user