From 6fb38b3e67a4670686b4797a78d4bd0ee0820b8a Mon Sep 17 00:00:00 2001 From: "Steven M. Miano" Date: Tue, 26 Feb 2019 06:31:19 -0500 Subject: [PATCH] replacing a printf with an echo for _egrep_o on a response --- dnsapi/dns_ultra.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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."