]> git.proxmox.com Git - mirror_acme.sh.git/commitdiff
fix format
authorneilpang <github@byneil.com>
Tue, 6 Dec 2016 07:54:19 +0000 (15:54 +0800)
committerneilpang <github@byneil.com>
Tue, 6 Dec 2016 07:54:19 +0000 (15:54 +0800)
dnsapi/dns_dp.sh

index c6dd1ba34d797cfc5acd099ae75ec4d94d6cc316..155979af40f772d59ff104f2f27757272de3e8af 100755 (executable)
@@ -67,7 +67,7 @@ dns_dp_rm() {
     return 0
   fi
 
-  record_id=$(echo "$response" | _egrep_o '{[^{]*"value":"'$txtvalue'"' | cut -d , -f 1 | cut -d : -f 2 | tr -d \")
+  record_id=$(echo "$response" | _egrep_o '{[^{]*"value":"'"$txtvalue"'"' | cut -d , -f 1 | cut -d : -f 2 | tr -d \")
   _debug record_id "$record_id"
   if [ -z "$record_id" ]; then
     _err "Can not get record id."