Correction

This commit is contained in:
Alexandre
2023-04-02 12:08:53 +02:00
parent 9a8e3c803c
commit 4d90c0c1d3
3 changed files with 2 additions and 4 deletions

View File

@@ -2,9 +2,9 @@
# shellcheck shell=bash
if bashio::config.has_value "PUID" && bashio::config.has_value "PGID"; then
bashio::log.green "Setting user to $PUID:$PGID"
PUID="$(bashio::config "PUID")"
PGID="$(bashio::config "PGID")"
bashio::log.green "Setting user to $PUID:$PGID"
groupmod -o -g "$PGID" abc
usermod -o -u "$PUID" abc
fi