mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-26 02:31:51 +02:00
Update mount error handling to warning for read-only
Change error handling for read-only mounts to a warning.
This commit is contained in:
@@ -65,9 +65,10 @@ test_mount() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# ---- Final: mounted but not writable ----
|
# ---- Final: mounted but not writable ----
|
||||||
ERROR_MOUNT=true
|
bashio::log.warning "Disk mounted but is read-only or not writable (permission denied). Continuing anyway."
|
||||||
bashio::log.fatal "Disk mounted, but cannot write. Check permissions/export options and UID/GID mapping."
|
MOUNTED=true
|
||||||
return 1
|
return 0
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
mount_drive() {
|
mount_drive() {
|
||||||
|
|||||||
Reference in New Issue
Block a user