From ecc91a470abad3212b2b22b12786a4edb23c9cd1 Mon Sep 17 00:00:00 2001 From: Tim Kimber Date: Fri, 7 Jan 2022 16:48:56 +0000 Subject: [PATCH] Don't show usage if run with --upgrade (fixes #728) --- getssl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/getssl b/getssl index 56e9a4b..78b680a 100755 --- a/getssl +++ b/getssl @@ -2899,7 +2899,7 @@ if [[ $_UPGRADE_CHECK -eq 1 ]]; then # then exit after upgrade if [[ -z "$DOMAIN" ]] && [[ ${_CHECK_ALL} -ne 1 ]] && [[ ${_REVOKE} -ne 1 ]] && [ "${_ONLY_CHECK_CONFIG}" -ne 1 ]; then # if nothing in command line, print help before exit. - if [[ -z "$DOMAIN" ]] && [[ ${_CHECK_ALL} -ne 1 ]]; then + if [[ -z "$DOMAIN" ]] && [[ ${_CHECK_ALL} -ne 1 ]] && [[ ${_UPGRADE} -ne 1 ]]; then help_message fi graceful_exit