Skip to content

Commit 209ae3d

Browse files
committed
chore: fix "VAULT_PASSWORD: unbound variable" error in deploy.sh
Should be in e1ffb76 commit. Relate to #435
1 parent f69d35a commit 209ae3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/scripts/ci/deploy.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export ANSIBLE_HOST_KEY_CHECKING=False
3030
# See: https://docs.ansible.com/ansible/2.9/reference_appendices/config.html#envvar-ANSIBLE_STDOUT_CALLBACK
3131
export ANSIBLE_STDOUT_CALLBACK=debug
3232

33-
if [ -z "$VAULT_PASSWORD" ]; then
33+
if [ -z "${VAULT_PASSWORD:-}" ]; then
3434
echo >&2 "ERROR: env variable VAULT_PASSWORD is empty!"
3535
exit 1
3636
fi

0 commit comments

Comments
 (0)