From 576fff37ec25ecafd5d7b7488c8d9311432b684d Mon Sep 17 00:00:00 2001 From: Joshua Boniface Date: Tue, 24 Sep 2019 15:38:46 -0400 Subject: [PATCH] Correct indentation of _info messages --- dnsapi/dns_nsupdate.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/dnsapi/dns_nsupdate.sh b/dnsapi/dns_nsupdate.sh index ca9945ae..21da1481 100755 --- a/dnsapi/dns_nsupdate.sh +++ b/dnsapi/dns_nsupdate.sh @@ -25,10 +25,10 @@ dns_nsupdate_add() { [ -n "${NSUPDATE_SERVER_PORT}" ] || NSUPDATE_SERVER_PORT=53 if [ -n "${NSUPDATE_CNAME_ZONE}" ]; then - _info "adding _acme-challenge.${NSUPDATE_CNAME_ZONE}. 60 in txt \"${txtvalue}\"" - _info "the record ${fulldomain}. must be a CNAME to this record for validation to succeed" + _info "adding _acme-challenge.${NSUPDATE_CNAME_ZONE}. 60 in txt \"${txtvalue}\"" + _info "the record ${fulldomain}. must be a CNAME to this record for validation to succeed" else - _info "adding ${fulldomain}. 60 in txt \"${txtvalue}\"" + _info "adding ${fulldomain}. 60 in txt \"${txtvalue}\"" fi [ -n "$DEBUG" ] && [ "$DEBUG" -ge "$DEBUG_LEVEL_1" ] && nsdebug="-d" [ -n "$DEBUG" ] && [ "$DEBUG" -ge "$DEBUG_LEVEL_2" ] && nsdebug="-D" @@ -74,9 +74,9 @@ dns_nsupdate_rm() { [ -n "${NSUPDATE_SERVER}" ] || NSUPDATE_SERVER="localhost" [ -n "${NSUPDATE_SERVER_PORT}" ] || NSUPDATE_SERVER_PORT=53 if [ -n "${NSUPDATE_CNAME_ZONE}" ]; then - _info "removing _acme-challenge.${NSUPDATE_CNAME_ZONE}. txt" + _info "removing _acme-challenge.${NSUPDATE_CNAME_ZONE}. txt" else - _info "removing ${fulldomain}. txt" + _info "removing ${fulldomain}. txt" fi [ -n "$DEBUG" ] && [ "$DEBUG" -ge "$DEBUG_LEVEL_1" ] && nsdebug="-d" [ -n "$DEBUG" ] && [ "$DEBUG" -ge "$DEBUG_LEVEL_2" ] && nsdebug="-D"