Commit b3e3e080 authored by Sebastiaan Hoogeveen's avatar Sebastiaan Hoogeveen
Browse files

Cleaned up some of the comments from shellcheck.

parent 1167cdca
......@@ -91,7 +91,7 @@ _get_root() {
fi
if _nederhost_rest GET "zones/${_domain}"; then
if [ "${_code}" == "204" ]; then
if [ "${_code}" = "204" ]; then
return 0;
fi
else
......@@ -112,7 +112,7 @@ _nederhost_rest() {
export _H1="Authorization: Bearer $NederHost_Key"
export _H2="Content-Type: application/json"
:>$HTTP_HEADER
:>"$HTTP_HEADER"
if [ "$m" != "GET" ]; then
_debug data "$data"
......
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