save api first

This commit is contained in:
neil 2016-09-28 13:07:51 +08:00
parent 950172dc01
commit f6dcd98995

View File

@ -1974,6 +1974,9 @@ issue() {
_savedomainconf "Le_RenewHook" "$Le_RenewHook" _savedomainconf "Le_RenewHook" "$Le_RenewHook"
_savedomainconf "Le_LocalAddress" "$Le_LocalAddress" _savedomainconf "Le_LocalAddress" "$Le_LocalAddress"
Le_API="$API"
_savedomainconf "Le_API" "$Le_API"
if [ "$Le_Alt" = "$NO_VALUE" ] ; then if [ "$Le_Alt" = "$NO_VALUE" ] ; then
Le_Alt="" Le_Alt=""
fi fi
@ -2490,9 +2493,7 @@ issue() {
Le_NextRenewTime=$(_math $Le_NextRenewTime - 86400) Le_NextRenewTime=$(_math $Le_NextRenewTime - 86400)
_savedomainconf "Le_NextRenewTime" "$Le_NextRenewTime" _savedomainconf "Le_NextRenewTime" "$Le_NextRenewTime"
Le_API="$API"
_savedomainconf "Le_API" "$Le_API"
_on_issue_success _on_issue_success