Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
63a779ba
Unverified
Commit
63a779ba
authored
Nov 04, 2019
by
stilez
Committed by
GitHub
Nov 04, 2019
Browse files
remove unnecessary \
parent
2d1a776d
Changes
1
Hide whitespace changes
Inline
Side-by-side
dnsapi/dns_pleskxml.sh
View file @
63a779ba
...
@@ -250,7 +250,7 @@ _call_api() {
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment