chore: silence _setup_adjust_state_permissions

Signed-off-by: georglauterbach <44545919+georglauterbach@users.noreply.github.com>
This commit is contained in:
georglauterbach 2025-01-22 22:06:49 +01:00
parent bdd3db50d6
commit e549b73e09
No known key found for this signature in database
GPG key ID: F367F7C43C118578

View file

@ -88,10 +88,7 @@ function _setup_save_states() {
}
function _setup_adjust_state_permissions() {
if [[ ! -d ${DMS_STATE_DIR:?DMS_STATE_DIR is not set} ]]; then
_log 'debug' "'${DMS_STATE_DIR}' is not present - not adjusting state permissions"
return 0
fi
[[ -d ${DMS_STATE_DIR:?DMS_STATE_DIR is not set} ]] || return 0
# This ensures the user and group of the files from the external mount have their
# numeric ID values in sync. New releases where the installed packages order changes