From ba964e279cfc0b696ef2e8b6501b42acc687d69f Mon Sep 17 00:00:00 2001 From: Nicolas Viennot Date: Mon, 19 Aug 2019 23:21:50 -0400 Subject: [PATCH] nits --- docker-entrypoint.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index 0d34ab2d..64f0066a 100755 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -5,8 +5,8 @@ if [ "${USE_PROXY}" == "1" ]; then set -- -x localhost "$@" fi -if [ ! -z "${HOSTNAME}" ]; then - set -- -h "${HOSTNAME}" "$@" +if [ ! -z "${SSH_HOSTNAME}" ]; then + set -- -h "${SSH_HOSTNAME}" "$@" fi exec tmate-ssh-server -p 2200 -k ${SSH_KEYS_PATH} "$@"