From c3b372a922df59b8f7d3bb45183edd59979d7791 Mon Sep 17 00:00:00 2001 From: Qvinti Date: Thu, 9 Jan 2020 23:35:46 +0200 Subject: [PATCH] fix typos --- dnsapi/dns_hostingUkraine.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/dnsapi/dns_hostingUkraine.sh b/dnsapi/dns_hostingUkraine.sh index 4aee52ff..35babdeb 100644 --- a/dnsapi/dns_hostingUkraine.sh +++ b/dnsapi/dns_hostingUkraine.sh @@ -45,14 +45,13 @@ dns_hostingUkraine_rm() { return 1 fi - ids=$(echo "$response" | _egrep_o "[^{]+${txtvalue}[^}]+" | _egrep_o "id\":[^\,]+" | cut -c5-) + ids=$(echo "$response" | _egrep_o "[^{]+${txtvalue}[^}]+" | _egrep_o "id\":[^\,]+" | cut -c5-) if [ -z "$ids" ]; then _err "Empty TXT records! ($fulldomain: $txtvalue)" return 1 fi - for id in $ids - do + for id in $ids; do stack="${stack:+${stack},}${id}" done