Cleaned up some of the comments from shellcheck.

This commit is contained in:
Sebastiaan Hoogeveen 2019-02-05 16:37:08 +01:00
parent 1167cdcaec
commit b3e3e080a9
1 changed files with 2 additions and 2 deletions

View File

@ -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"