mirror of
https://github.com/outbackdingo/firmware.git
synced 2026-01-27 18:18:57 +00:00
[no ci] Update automount.sh (#1826)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user