Browse Source

Don't show usage if run with --upgrade (fixes #728)

release2.46
Tim Kimber 4 years ago
parent
commit
ecc91a470a
No known key found for this signature in database GPG Key ID: 3E1804964E76BD18
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      getssl

+ 1
- 1
getssl View File

@ -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


Loading…
Cancel
Save