From 8ddd0fd4acc64acef3d5865a6cafee504596f564 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Fri, 16 Sep 2022 20:28:41 +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 c295ef484..90cf3d422 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'; 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')"