stilez
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
15 additions and
15 deletions
-
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 |
|
|
|
|