Fix shellcheck

This commit is contained in:
Yuri S 2019-07-18 18:53:29 +05:00
parent 15c7a16524
commit 2d65112d31

View File

@ -78,7 +78,7 @@ dns_vultr_rm() {
return 1
fi
_record_id="$( echo "$response" | tr '{}' '\n' | grep '"TXT"'| grep "$txtvalue" | tr ',' '\n' | grep -i 'RECORDID' | cut -d : -f 2)"
_record_id="$(echo "$response" | tr '{}' '\n' | grep '"TXT"' | grep "$txtvalue" | tr ',' '\n' | grep -i 'RECORDID' | cut -d : -f 2)"
if ! _vultr_rest POST 'dns/delete_record' "domain=$_domain&RECORDID=$_record_id"; then
_err "$response"