Browse Source

remove unnecessary \

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

2
dnsapi/dns_pleskxml.sh

@ -250,7 +250,7 @@ _call_api() {
# We have some status lines that aren't "ok". Get the details # We have some status lines that aren't "ok". Get the details
errtext="$(_value "$pleskxml_prettyprint_result" \ errtext="$(_value "$pleskxml_prettyprint_result" \
| sed -rn 's/^ *<(status|errcode|errtext)>([^<]+)<\/(status|errcode|errtext)> *$/\1: \2/p' \
| sed -rn 's/^ *<(status|errcode|errtext)>([^<]+)<\/(status|errcode|errtext)> *$/\1: \2/p'
)" )"
elif ! _value "$statuslines" | grep -q '<status>ok</status>'; then elif ! _value "$statuslines" | grep -q '<status>ok</status>'; then

Loading…
Cancel
Save