Skip to content

Commit

Permalink
Fix logging message for DOMAIN and DOMAIN-SEARCH
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Wright committed Jun 17, 2016
1 parent 96a0577 commit 75f22dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions update-systemd-resolved
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 75f22dc

Please sign in to comment.