diff --git a/docker/files/docker-entrypoint.sh b/docker/files/docker-entrypoint.sh index ccd7273..20308a3 100755 --- a/docker/files/docker-entrypoint.sh +++ b/docker/files/docker-entrypoint.sh @@ -41,7 +41,7 @@ if [[ ${UPDATE_MODS_ON_START:-} == "true" ]]; then ./docker-update-mods.sh fi -if [[ $(id -u) = 0 ]]; then +if [[ $(id -u) == 0 ]]; then # Update the User and Group ID based on the PUID/PGID variables usermod -o -u "$PUID" factorio groupmod -o -g "$PGID" factorio