Commit c064b389 authored by aattww's avatar aattww
Browse files

Change command check to fully pass shellcheck

parent 8400d1e6
...@@ -120,9 +120,7 @@ _joker_rest() { ...@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment