Habetdin
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
dnsapi/dns_zilore.sh
|
@ -73,7 +73,7 @@ dns_zilore_rm() { |
|
|
_err "Error while getting records list" |
|
|
_err "Error while getting records list" |
|
|
return 1 |
|
|
return 1 |
|
|
else |
|
|
else |
|
|
_record_id=$(printf "%s\n" "$response" | _egrep_o "\"record_id\":\"[^\"]+\"" | cut -d : -f 2 | tr -d \" | head -n 1) |
|
|
|
|
|
|
|
|
_record_id=$(printf "%s\n" "$response" | _egrep_o "\"record_id\":\"[^\"]+\"" | cut -d : -f 2 | tr -d \" | _head_n 1) |
|
|
if [ -z "$_record_id" ]; then |
|
|
if [ -z "$_record_id" ]; then |
|
|
_err "Cannot determine _record_id" |
|
|
_err "Cannot determine _record_id" |
|
|
return 1 |
|
|
return 1 |
|
|