Quote factorio volume variable

This commit is contained in:
Sandro Jäckel 2019-05-16 19:59:42 +02:00
parent f868aa16ad
commit 0173eab54c
No known key found for this signature in database
GPG Key ID: 236B6291555E8401

View File

@ -40,7 +40,7 @@ if [ "$(id -u)" = '0' ]; then
usermod -o -u "$PUID" factorio
groupmod -o -g "$PGID" factorio
# 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
SU_EXEC="su-exec factorio"
else