Browse Source

Cleaned up some of the comments from shellcheck.

dnsconf
Sebastiaan Hoogeveen 6 years ago
parent
commit
b3e3e080a9
  1. 4
      dnsapi/dns_nederhost.sh

4
dnsapi/dns_nederhost.sh

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

Loading…
Cancel
Save