diff --git a/src/agents.d/update-dns-namecheap b/src/agents.d/update-dns-namecheap index 73263a2..f63474e 100755 --- a/src/agents.d/update-dns-namecheap +++ b/src/agents.d/update-dns-namecheap @@ -44,7 +44,7 @@ _update_dns_namecheap() { local result local errors - result="$(curl -q "https://dynamicdns.park-your-domain.com/update?host=${dnsHostname}&domain=${dnsDomain}&password=${dnsToken}&ip=${dnsIP}" | grep ErrCount)" + result="$(curl -qs "https://dynamicdns.park-your-domain.com/update?host=${dnsHostname}&domain=${dnsDomain}&password=${dnsToken}&ip=${dnsIP}" | grep ErrCount)" if [[ $? -eq 0 ]]; then errors="$(set -n -e 's/.*\(.*\)<\/ErrCount>.*/\1/p' <<< $result)"