mirror of https://github.com/ventoy/Ventoy.git
Bugfix VentoyWorker.sh - mount detection false-positive
This commit is contained in:
parent
39703cabb7
commit
c8a894db7f
|
@ -137,7 +137,7 @@ fi
|
||||||
#check mountpoint
|
#check mountpoint
|
||||||
check_umount_disk "$DISK"
|
check_umount_disk "$DISK"
|
||||||
|
|
||||||
if grep "$DISK" /proc/mounts; then
|
if grep -w "$DISK" /proc/mounts; then
|
||||||
vterr "$DISK is already mounted, please umount it first!"
|
vterr "$DISK is already mounted, please umount it first!"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue