Bugfix VentoyWorker.sh - mount detection false-positive

This commit is contained in:
ZleekWolf 2023-10-23 00:21:41 +02:00 committed by GitHub
parent 39703cabb7
commit c8a894db7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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