making shfmt happy

This commit is contained in:
Oliver Dick 2018-08-01 17:00:22 +02:00
parent 86276ad17b
commit 5494e88e08

View File

@ -6,7 +6,6 @@
# export HOSTINGDE_ENDPOINT='https://secure.hosting.de' # export HOSTINGDE_ENDPOINT='https://secure.hosting.de'
# export HOSTINGDE_APIKEY='xxxxx' # export HOSTINGDE_APIKEY='xxxxx'
######## Public functions ##################### ######## Public functions #####################
dns_hostingde_add() { dns_hostingde_add() {
@ -55,7 +54,7 @@ _hostingde_getZoneConfig() {
_err "UNKNOWN API ERROR" _err "UNKNOWN API ERROR"
fi fi
returnCode=1 returnCode=1
break; break
fi fi
if _contains "${curResult}" '"totalEntries": 1'; then if _contains "${curResult}" '"totalEntries": 1'; then
_info "Retrieved zone data." _info "Retrieved zone data."
@ -70,7 +69,7 @@ _hostingde_getZoneConfig() {
curZone="${curZone#*.}" curZone="${curZone#*.}"
done done
if [ $returnCode -ne 0 ]; then if [ $returnCode -ne 0 ]; then
_info "ZoneEnd reached, Zone ${curZone} not found in hosting.de API" _info "ZoneEnd reached, Zone ${curZone} not found in hosting.de API"
fi fi
return $returnCode return $returnCode
} }