Skip to content

Commit

Permalink
correct issue #101 when some domains already validated
Browse files Browse the repository at this point in the history
  • Loading branch information
srvrco committed Sep 4, 2016
1 parent b62be8e commit 49ea67f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion getssl
Expand Up @@ -100,10 +100,11 @@
# 2016-08-23 enable insecure certiticate on https token check #94 (1.34)
# 2016-08-23 export OPENSSL_CONF so it's used by all openssl commands (1.35)
# 2016-08-25 updated defaults for ACME agreement (1.36)
# 2016-09-04 correct issue #101 when some domains already validated (1.37)
# ---------------------------------------------------------------------------

PROGNAME=${0##*/}
VERSION="1.36"
VERSION="1.37"

# defaults
CODE_LOCATION="https://raw.githubusercontent.com/srvrco/getssl/master/getssl"
Expand Down Expand Up @@ -1086,6 +1087,8 @@ for d in $alldomains; do

if [[ $response_status == "valid" ]]; then
info "$d is already validated"
# increment domain-counter
let dn=dn+1;
else

if [[ $VALIDATE_VIA_DNS == "true" ]]; then # set up the correct DNS token for verification
Expand Down

0 comments on commit 49ea67f

Please sign in to comment.