mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2026-08-13 12:33:30 +02:00
Merge pull request #6720 from magyarsz/dev
Fix a logical error in the `renew` function
This commit is contained in:
parent
92bd80c07d
commit
7e7c0ee984
1 changed files with 1 additions and 4 deletions
5
acme.sh
5
acme.sh
|
|
@ -5936,11 +5936,8 @@ renew() {
|
|||
fi
|
||||
issue "$Le_Webroot" "$Le_Domain" "$Le_Alt" "$Le_Keylength" "$Le_RealCertPath" "$Le_RealKeyPath" "$Le_RealCACertPath" "$Le_ReloadCmd" "$Le_RealFullChainPath" "$Le_PreHook" "$Le_PostHook" "$Le_RenewHook" "$Le_LocalAddress" "$Le_ChallengeAlias" "$Le_Preferred_Chain" "$Le_Valid_From" "$Le_Valid_To" "$Le_Certificate_Profile" "$Le_ExtKeyUse"
|
||||
res="$?"
|
||||
if [ "$res" != "0" ]; then
|
||||
return "$res"
|
||||
fi
|
||||
|
||||
if [ "$Le_DeployHook" ]; then
|
||||
if [ "$Le_DeployHook" ] && [ "$res" = "0" ]; then
|
||||
_deploy "$Le_Domain" "$Le_DeployHook"
|
||||
res="$?"
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue