Skip to content

Commit

Permalink
Ensure that --all doesn't run --new-account-key or --DEACTIVATE-accou…
Browse files Browse the repository at this point in the history
…nt more than once.
  • Loading branch information
tlhackque committed Mar 22, 2024
1 parent 6a81667 commit da342a5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions getssl
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,7 @@
# 2024-03-18 Implement token substitution in ACLs (#267) (tlhackque)
# 2024-03-19 Implement DNS_NSUPDATE_LOCALIP in dns_{add,del}_nsupdate (#801) (tlhackque)
# 2024-03-21 Relax restrictions on dns-01 CNAMEs to allow for hased targets. (tlhackque)
# 2024-03-21 Ensure that --all doesn't run --new-account-key or --DEACTIVATE-account more than once. (tlhackque)
# ----------------------------------------------------------------------------------------

case :$SHELLOPTS: in
Expand Down Expand Up @@ -3047,6 +3048,8 @@ if [[ $_UPGRADE_CHECK -eq 1 ]]; then
&& [[ ${_CHECK_ALL} -ne 1 ]] \
&& [[ ${_REVOKE} -ne 1 ]] \
&& [ "${_ONLY_CHECK_CONFIG}" -ne 1 ] \
&& [[ "_NEW_ACCOUNT_KEY" -ne 1 ]] \
&& [[ "_DEACTIVATE_ACCOUNT" -ne 1 ]] \
&& [[ ${_SHOW_ACCOUNT_ID} -ne 1 ]]; then
# if nothing in command line, print help before exit.
if [[ -z "$DOMAIN" ]] && [[ ${_CHECK_ALL} -ne 1 ]] && [[ ${_UPGRADE} -ne 1 ]]; then
Expand Down

0 comments on commit da342a5

Please sign in to comment.