Browse Source

yet more formatting

pull/1786/head
stilez 7 years ago
committed by GitHub
parent
commit
4f233cdb19
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      dnsapi/dns_pleskxml.sh

2
dnsapi/dns_pleskxml.sh

@ -812,7 +812,7 @@ _pleskxml_rmv_txt_record() {
| grep -F "<host>${2:-<NON_MATCHING_GARBAGE>}." \
| grep -F "<value>${3:-<NON_MATCHING_GARBAGE>}</value>" \
| sed -E 's/(^[[:space:]]+|[[:space:]]+$)//g' \
32m | tr -d '\n'
| tr -d '\n'
)"
# Run 2 separate GREP filters, because the host and value order isn't mandatory in the API return data
# ands this avoids regex and escaping which is easier

Loading…
Cancel
Save