mirror of
https://github.com/ventoy/Ventoy.git
synced 2024-12-24 22:25:57 -05:00
Bugfix VentoyWorker.sh - mount detection false-positive
This commit is contained in:
parent
39703cabb7
commit
c8a894db7f
@ -137,7 +137,7 @@ fi
|
||||
#check mountpoint
|
||||
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!"
|
||||
exit 1
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user