diff --git a/entrypoint-user.sh b/entrypoint-user.sh index debc3af..e7d0b86 100755 --- a/entrypoint-user.sh +++ b/entrypoint-user.sh @@ -12,6 +12,9 @@ exit_handler_user() { echo -e "Loading exit handler" trap exit_handler_user SIGQUIT SIGINT SIGTERM +# Define ${USER} as missing in docker container +USER="${USERNAME}" + # Setup game server if [ ! -f "${GAMESERVER}" ]; then echo -e ""