From 75f22dc3ce7f83b47194d3b3edfc014c4fd2b00b Mon Sep 17 00:00:00 2001 From: Jonathan Wright Date: Fri, 17 Jun 2016 09:03:31 +0100 Subject: [PATCH] Fix logging message for DOMAIN and DOMAIN-SEARCH --- update-systemd-resolved | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/update-systemd-resolved b/update-systemd-resolved index 354e573..b8498e9 100755 --- a/update-systemd-resolved +++ b/update-systemd-resolved @@ -92,14 +92,14 @@ case $script_type in domain="${setting//DOMAIN }" [[ -z "${domain}" ]] && continue dns_domain_count=$((dns_domain_count+1)) - log "Adding DNS Domain ${address}" + log "Adding DNS Domain ${domain}" dns_domains="${dns_domains} ${domain} false" ;; DOMAIN-SEARCH) domain="${setting//DOMAIN-SEARCH }" [[ -z "${domain}" ]] && continue dns_domain_count=$((dns_domain_count+1)) - log "Adding DNS Search Domain ${address}" + log "Adding DNS Search Domain ${domain}" dns_domains="${dns_domains} ${domain} true" ;; esac