diff --git a/scripts/maintenance/tag-route53-hosted-zones.sh b/scripts/maintenance/tag-route53-hosted-zones.sh index f9baa134d4..dd3dbf4b50 100755 --- a/scripts/maintenance/tag-route53-hosted-zones.sh +++ b/scripts/maintenance/tag-route53-hosted-zones.sh @@ -45,8 +45,8 @@ while [ $# -gt 0 ]; do shift done -if ! command -v jq > /dev/null || ! command -v aws > /dev/null; then - "Dependencies not installed." +if ! command -V jq >/dev/null || ! command -V aws >/dev/null; then + echo "Missing required dependencies" >&2 exit 1 fi