mirror of
https://github.com/ventoy/Ventoy.git
synced 2025-12-19 10:06:17 +00:00
Bugfix VentoyWorker.sh - mount detection false-positive
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user