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
c064b389
Commit
c064b389
authored
Apr 06, 2020
by
aattww
Browse files
Change command check to fully pass shellcheck
parent
8400d1e6
Changes
1
Hide whitespace changes
Inline
Side-by-side
dnsapi/dns_joker.sh
View file @
c064b389
...
...
@@ -120,9 +120,7 @@ _joker_rest() {
data
=
"
$1
"
_debug data
"
$data
"
response
=
"
$(
_post
"
$data
"
"
$JOKER_API
"
""
"POST"
)
"
if
[
"
$?
"
!=
"0"
]
;
then
if
!
response
=
"
$(
_post
"
$data
"
"
$JOKER_API
"
""
"POST"
)
"
;
then
_err
"Error POSTing"
return
1
fi
...
...
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