diff --git a/entrypoint.sh b/entrypoint.sh index 69711ce..1717a7a 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -4,7 +4,7 @@ ssh-keygen -A # check wether a random root-password is provided -if [ ! -z ${ROOT_PASSWORD} ] && [ "${ROOT_PASSWORD}" != "root" ]; then +if [ ! -z "${ROOT_PASSWORD}" ] && [ "${ROOT_PASSWORD}" != "root" ]; then echo "root:${ROOT_PASSWORD}" | chpasswd fi