diff --git a/docker/files/docker-entrypoint.sh b/docker/files/docker-entrypoint.sh index a218017..db08fa0 100755 --- a/docker/files/docker-entrypoint.sh +++ b/docker/files/docker-entrypoint.sh @@ -46,7 +46,7 @@ fi ./docker-dlc.sh EXEC="" -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