mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-05-18 18:05:33 +00:00
fix: write to console pipe as minecraft user (#1216)
This commit is contained in:
@@ -12,4 +12,4 @@ if [ ! -p "${CONSOLE_IN_NAMED_PIPE}" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "$@" > "${CONSOLE_IN_NAMED_PIPE:-/tmp/minecraft-console-in}"
|
||||
gosu minecraft bash -c "echo $* > '${CONSOLE_IN_NAMED_PIPE:-/tmp/minecraft-console-in}'"
|
||||
Reference in New Issue
Block a user