diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index 3d1e29656..dd4e15e7b 100755 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -5,7 +5,7 @@ set -e # If the user is trying to run atlantis directly with some arguments, then # pass them to atlantis. -if [ "$(echo "${1}" | cut -c1)" ]; then +if [ "$(echo "${1}" | cut -c1)" = "-" ]; then set -- atlantis "$@" fi