Skip to content

Commit

Permalink
Fixed required env vars check
Browse files Browse the repository at this point in the history
  • Loading branch information
zc-devs authored and dekobon committed Jun 23, 2023
1 parent 6df7d1a commit 1de7173
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/docker-entrypoint.d/00-check-for-required-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1de7173

Please sign in to comment.