From d616aa5d1a463923ac40ee4cbc2105cfc58978d6 Mon Sep 17 00:00:00 2001 From: Benno-K Date: Sun, 7 Feb 2021 21:27:52 +0100 Subject: [PATCH] Test revealed that revocation (-r) also should not exit after upgrade --- getssl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/getssl b/getssl index cad52c3..c319eed 100755 --- a/getssl +++ b/getssl @@ -2514,8 +2514,8 @@ requires mktemp # Check if upgrades are available (unless they have specified -U to ignore Upgrade checks) if [[ $_UPGRADE_CHECK -eq 1 ]]; then check_getssl_upgrade - # if nothing in command line, then exit after upgrade - if [[ -z "$DOMAIN" ]] && [[ ${_CHECK_ALL} -ne 1 ]]; then + # if nothing in command line and no revocation, then exit after upgrade + if [[ -z "$DOMAIN" ]] && [[ ${_CHECK_ALL} -ne 1 ]] && [[ ${_REVOKE} -ne 1 ]]; then graceful_exit fi fi