Skip to content

Commit

Permalink
refactor(ali): check the result of prepare_ali_credentials
Browse files Browse the repository at this point in the history
  • Loading branch information
PMExtra committed Sep 20, 2024
1 parent ea2330b commit 2ea37e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deploy/ali_cdn.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ ali_cdn_deploy() {
return 1
fi

_prepare_ali_credentials
_prepare_ali_credentials || return 1

_getdeployconf DEPLOY_ALI_CDN_DOMAIN
if [ "$DEPLOY_ALI_CDN_DOMAIN" ]; then
Expand Down
2 changes: 1 addition & 1 deletion dnsapi/dns_ali.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ dns_ali_add() {
fulldomain=$1
txtvalue=$2

_prepare_ali_credentials
_prepare_ali_credentials || return 1

_debug "First detect the root zone"
if ! _get_root "$fulldomain"; then
Expand Down

0 comments on commit 2ea37e6

Please sign in to comment.