Skip to content

Commit

Permalink
trigger validation before cleanup
Browse files Browse the repository at this point in the history
fix #2037
  • Loading branch information
neilpang committed Jan 21, 2019
1 parent b15c1ff commit 545f235
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions acme.sh
Expand Up @@ -3857,8 +3857,8 @@ $_authorizations_map"
)

if [ "$?" != "0" ]; then
_clearup
_on_issue_err "$_post_hook" "$vlist"
_clearup
return 1
fi
dnsadded='1'
Expand All @@ -3869,8 +3869,8 @@ $_authorizations_map"
_savedomainconf "Le_Vlist" "$vlist"
_debug "Dns record not added yet, so, save to $DOMAIN_CONF and exit."
_err "Please add the TXT records to the domains, and re-run with --renew."
_clearup
_on_issue_err "$_post_hook"
_clearup
return 1
fi

Expand Down

0 comments on commit 545f235

Please sign in to comment.