mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-22 21:21:42 +00:00
Change command check to fully pass shellcheck
This commit is contained in:
parent
8400d1e60e
commit
c064b3896a
@ -120,9 +120,7 @@ _joker_rest() {
|
|||||||
data="$1"
|
data="$1"
|
||||||
_debug data "$data"
|
_debug data "$data"
|
||||||
|
|
||||||
response="$(_post "$data" "$JOKER_API" "" "POST")"
|
if ! response="$(_post "$data" "$JOKER_API" "" "POST")"; then
|
||||||
|
|
||||||
if [ "$?" != "0" ]; then
|
|
||||||
_err "Error POSTing"
|
_err "Error POSTing"
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user