Browse Source

Fix Renew Skipped Return Code

$_ret is set to 0 above and is not set to 2 on "Skipped". Script exits with return code 0 when it should be 2.
pull/1537/head
Lucas Peet 7 years ago
parent
commit
ebc410ca5f
  1. 1
      acme.sh

1
acme.sh

@ -4400,6 +4400,7 @@ renewAll() {
if [ "$rc" != "0" ]; then
if [ "$rc" = "$RENEW_SKIP" ]; then
_info "Skipped $d"
_ret="$rc"
elif [ "$_stopRenewOnError" ]; then
_err "Error renew $d, stop now."
return "$rc"

Loading…
Cancel
Save