From ebc410ca5f3d9a91f27b4fc07dc8aff42038f7a9 Mon Sep 17 00:00:00 2001 From: Lucas Peet Date: Wed, 18 Apr 2018 00:31:27 -0600 Subject: [PATCH] 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. --- acme.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/acme.sh b/acme.sh index a5e4b391..8645437e 100755 --- a/acme.sh +++ b/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"