Update ha_entrypoint_modif.sh

This commit is contained in:
Alexandre
2024-01-10 10:14:32 +01:00
committed by GitHub
parent 649e71ed43
commit a402b2074f

View File

@@ -8,8 +8,8 @@ set -e
# Corrects permissions for s6 v3
################################
PUID="{PUID:-0}"
PGID="{PGID:-0}"
PUID="${PUID:-0}"
PGID="${PGID:-0}"
if [ -f /ha_entrypoint.sh ]; then
chown -R "$PUID:$PGID" /ha_entrypoint.sh