mirror of
https://github.com/acmesh-official/acme.sh
synced 2025-08-31 14:25:37 +00:00
refactor(ali): check the result of prepare_ali_credentials
This commit is contained in:
@@ -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
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user