diff --git a/common/docker-entrypoint.d/00-check-for-required-env.sh b/common/docker-entrypoint.d/00-check-for-required-env.sh index e06127bb..8940ec18 100755 --- a/common/docker-entrypoint.d/00-check-for-required-env.sh +++ b/common/docker-entrypoint.d/00-check-for-required-env.sh @@ -82,7 +82,7 @@ if [[ -v S3_DEBUG ]]; then fi for name in ${required[@]}; do - if [[ ! -v name ]]; then + if [[ ! -v $name ]]; then >&2 echo "Required ${name} environment variable missing" failed=1 fi