mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-02-06 11:54:53 +01: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
|
||||
|
||||
# ---- Final: mounted but not writable ----
|
||||
ERROR_MOUNT=true
|
||||
bashio::log.fatal "Disk mounted, but cannot write. Check permissions/export options and UID/GID mapping."
|
||||
return 1
|
||||
bashio::log.warning "Disk mounted but is read-only or not writable (permission denied). Continuing anyway."
|
||||
MOUNTED=true
|
||||
return 0
|
||||
|
||||
}
|
||||
|
||||
mount_drive() {
|
||||
|
||||
Reference in New Issue
Block a user