Browse Source

Update dns_gname.sh

pull/6808/head
GNDevProd 2 weeks ago
committed by neil
parent
commit
cd42ea56a2
  1. 2
      dnsapi/dns_gname.sh

2
dnsapi/dns_gname.sh

@ -145,7 +145,7 @@ _get_record_id() {
return 1 return 1
fi fi
dns_record_id=$(echo "$matched_row" | _egrep_o "\"id\":\"[^\"]*\"" | head -n 1 | cut -d : -f 2 | tr -d '"')
dns_record_id=$(echo "$matched_row" | _egrep_o "\"id\":\"[^\"]*\"" | _head_n 1 | cut -d : -f 2 | tr -d '"')
if [ -n "$dns_record_id" ]; then if [ -n "$dns_record_id" ]; then
_debug "Successfully found record ID: $dns_record_id" _debug "Successfully found record ID: $dns_record_id"

Loading…
Cancel
Save