factoriotools / factorio-docker

Factorio headless server in a Docker container
https://hub.docker.com/r/factoriotools/factorio/
MIT License
909 stars 220 forks source link

fix entrypoint logic for checking if root #425

Open hjhixon opened 2 years ago

hjhixon commented 2 years ago

Ran into this bug trying to use configMaps to populate the configs in a kubernetes deployment. The missing equals sign leads to an unnecessary attempt to change ownership on otherwise read-only files.