Update dns_simplycom.sh

This commit is contained in:
Tom Sommer 2021-08-24 09:33:37 +02:00 committed by GitHub
parent 2c9273b4de
commit 6f0b9f75c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -244,13 +244,13 @@ _simply_rest() {
else
response="$(_get "$SIMPLY_Api/$SIMPLY_AccountName/$SIMPLY_ApiKey/$ep")"
fi
response="$(echo "$response" | _normalizeJson)"
if [ "$?" != "0" ]; then
_err "error $ep"
return 1
fi
response="$(echo "$response" | _normalizeJson)"
_debug2 response "$response"