Update 92-local_mounts.sh

This commit is contained in:
Alexandre
2022-09-16 20:28:41 +02:00
committed by GitHub
parent af69e81edf
commit 8ddd0fd4ac

View File

@@ -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')"