Update automount.sh

pull/1826/head
viktorxda 2025-06-06 15:11:55 +02:00 committed by GitHub
parent e422eb87ea
commit 65675708ae
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ my_umount() {
my_mount() {
mkdir -p "${destdir}/$1" || exit 1
if ! mount -t auto -o sync "/dev/$1" "${destdir}/$1"; then
if ! mount -t auto "/dev/$1" "${destdir}/$1"; then
# failed to mount, clean up mountpoint
rmdir "${destdir}/$1"
exit 1