Skip to content

Commit 0278ae5

Browse files
committed
Fix the merge to include changes on the same lines I ignored. Add dated comment line.
1 parent fd4d864 commit 0278ae5

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

getssl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,7 @@
213213
# 2020-02-12 Fix "Registration key already in use" (2.19)
214214
# 2020-02-13 Fix bug with copying to all locations when creating RSA and ECDSA certs (2.20)
215215
# 2020-02-22 Change sign_string to use openssl asn1parse (better fix for #424)
216+
# 2020-02-23 Add dig to config check for systems without drill (ubuntu)
216217
# ----------------------------------------------------------------------------------------
217218

218219
PROGNAME=${0##*/}
@@ -433,9 +434,9 @@ check_config() { # check the config files for all obvious errors
433434
info "${DOMAIN}: ACL location not specified for domain $d in $DOMAIN_DIR/getssl.cfg"
434435
config_errors=true
435436
fi
436-
# check domain exist
437+
# check domain exists
437438
if [[ "$DNS_CHECK_FUNC" == "drill" ]]; then
438-
if [[ "$($DNS_CHECK_FUNC "${d}" SOA|grep -c "^${d}")" -ge 1 ]]; then
439+
if [[ "$($DNS_CHECK_FUNC "${d}" |grep -c "${d}")" -ge 1 ]]; then
439440
debug "found IP for ${d}"
440441
else
441442
info "${DOMAIN}: DNS lookup failed for ${d}"

0 commit comments

Comments
 (0)