Bugfix VentoyWorker.sh - mount detection false-positive

pull/2625/head
ZleekWolf 8 months ago committed by GitHub
parent 39703cabb7
commit c8a894db7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save