From 6495446d6d9292445e51306e212aadb8ec342089 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Fri, 16 Sep 2022 20:30:25 +0200 Subject: [PATCH] Update 92-local_mounts.sh --- .templates/92-local_mounts.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.templates/92-local_mounts.sh b/.templates/92-local_mounts.sh index 90cf3d422..5cea71e81 100644 --- a/.templates/92-local_mounts.sh +++ b/.templates/92-local_mounts.sh @@ -12,7 +12,7 @@ if bashio::config.has_value 'localdisks'; then echo "Local Disks mounting..." # Mount using UID/GID values - if bashio::config.has_value 'PUID' && bashio::config.has_value 'PGID' && [ ! -z ${ROOTMOUNT+x} ]; then + if bashio::config.has_value 'PUID' && bashio::config.has_value 'PGID' && [ -z ${ROOTMOUNT+x} ]; then echo "Using PUID $(bashio::config 'PUID') and PGID $(bashio::config 'PGID')" PUID="$(bashio::config 'PUID')" PGID="$(bashio::config 'PGID')"