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:
Lucas Peet 2018-04-18 13:25:21 -06:00 committed by GitHub
parent ebc410ca5f
commit d8afd1909d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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