mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-05-10 04:52:49 +00:00
Change $_ret to equal constant $RENEW_SKIP
If constant $RENEW_SKIP ever changes from 2, do not break the exit code here.
This commit is contained in:
parent
ebc410ca5f
commit
d8afd1909d
2
acme.sh
2
acme.sh
@ -4400,7 +4400,7 @@ renewAll() {
|
|||||||
if [ "$rc" != "0" ]; then
|
if [ "$rc" != "0" ]; then
|
||||||
if [ "$rc" = "$RENEW_SKIP" ]; then
|
if [ "$rc" = "$RENEW_SKIP" ]; then
|
||||||
_info "Skipped $d"
|
_info "Skipped $d"
|
||||||
_ret="$rc"
|
_ret="$RENEW_SKIP"
|
||||||
elif [ "$_stopRenewOnError" ]; then
|
elif [ "$_stopRenewOnError" ]; then
|
||||||
_err "Error renew $d, stop now."
|
_err "Error renew $d, stop now."
|
||||||
return "$rc"
|
return "$rc"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user