diff --git a/dnsapi/dns_ultra.sh b/dnsapi/dns_ultra.sh index 0257dbcc..feef6b79 100644 --- a/dnsapi/dns_ultra.sh +++ b/dnsapi/dns_ultra.sh @@ -85,7 +85,7 @@ dns_ultra_rm() { return 1 fi - count=$(printf "%s\n" "$response" | _egrep_o "\"returnedCount\":[^,]*" | cut -d: -f2 | cut -d'}' -f1) + count=$(echo "%s\n" "$response" | _egrep_o "\"returnedCount\":[^,]*" | cut -d: -f2 | cut -d'}' -f1) _debug count "${count}" if [ "${count}" = "" ]; then _info "Text record is not present, will not delete anything."