fix: write to console pipe as minecraft user (#1216)

This commit is contained in:
Geoff Bourne authored and GitHub committed 2021-12-20 07:09:29 -06:00
1 parent cc885276f5
commit c15e231d7e
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -40,7 +40,7 @@ if ! isTrue "${SKIP_SUDO:-false}" && [ $(id -u) = 0 ]; then
echo 'hosts: files dns' > /etc/nsswitch.conf
fi
exec gosu ${runAsUser}:${runAsGroup} ${SCRIPTS:-/}start-configuration $@
exec gosu ${runAsUser}:${runAsGroup} ${SCRIPTS:-/}start-configuration "$@"
else
exec ${SCRIPTS:-/}start-configuration $@
exec ${SCRIPTS:-/}start-configuration "$@"
fi