From 97425a595331c862e4f4650495c8e60cea9d2017 Mon Sep 17 00:00:00 2001 From: Tim Kimber Date: Wed, 22 Dec 2021 18:09:11 +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 9bfbb0e..8b0c406 100755 --- a/getssl +++ b/getssl @@ -2898,7 +2898,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