Merge pull request #6720 from magyarsz/dev

Fix a logical error in the `renew` function
This commit is contained in:
magyarsz 2026-07-03 15:42:52 +02:00 committed by GitHub
parent 92bd80c07d
commit 7e7c0ee984
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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