mirror of
https://github.com/factoriotools/factorio-docker.git
synced 2025-01-27 01:34:44 +01:00
Quote factorio volume variable
This commit is contained in:
parent
f868aa16ad
commit
0173eab54c
@ -40,7 +40,7 @@ if [ "$(id -u)" = '0' ]; then
|
|||||||
usermod -o -u "$PUID" factorio
|
usermod -o -u "$PUID" factorio
|
||||||
groupmod -o -g "$PGID" factorio
|
groupmod -o -g "$PGID" factorio
|
||||||
# Take ownership of factorio data if running as root
|
# Take ownership of factorio data if running as root
|
||||||
chown -R factorio:factorio $FACTORIO_VOL
|
chown -R factorio:factorio "$FACTORIO_VOL"
|
||||||
# Drop to the factorio user
|
# Drop to the factorio user
|
||||||
SU_EXEC="su-exec factorio"
|
SU_EXEC="su-exec factorio"
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user