From db56c81c707c03d98e15cc8858b8c993a8e1542a Mon Sep 17 00:00:00 2001 From: Vahid Fardi Date: Tue, 5 Jan 2021 00:50:18 +0330 Subject: [PATCH] remove unuse variable --- dnsapi/dns_arvan.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dnsapi/dns_arvan.sh b/dnsapi/dns_arvan.sh index 369e9a51..0b7c6b7e 100644 --- a/dnsapi/dns_arvan.sh +++ b/dnsapi/dns_arvan.sh @@ -83,7 +83,7 @@ dns_arvan_rm() { _record_id=$(echo "$response" | _egrep_o ".\"id\":\"[^\"]*\",\"type\":\"txt\",\"name\":\"_acme-challenge\",\"value\":{\"text\":\"$txtvalue\"}" | cut -d : -f 2 | cut -d , -f 1 |tr -d \") if ! _arvan_rest "DELETE" "${_domain}/dns-records/${_record_id}"; then _contains "$response" 'dns record deleted' - return 1 + return 0 fi _debug "$response" _contains "$response" 'dns record deleted'