dns_gandi_livedns: fix shellcheck errors
This commit is contained in:
parent
01b41f8565
commit
a7bf82c865
@ -104,7 +104,7 @@ _gandi_livedns_rest() {
|
|||||||
export _H1="Content-Type: application/json"
|
export _H1="Content-Type: application/json"
|
||||||
export _H2="X-Api-Key: $GANDI_LIVEDNS_KEY"
|
export _H2="X-Api-Key: $GANDI_LIVEDNS_KEY"
|
||||||
|
|
||||||
if [ "$data" -o "$m" == "DELETE" ]; then
|
if [ "$data" ] || [ "$m" = "DELETE" ]; then
|
||||||
_debug data "$data"
|
_debug data "$data"
|
||||||
response="$(_post "$data" "$GANDI_LIVEDNS_API/$ep" "" "$m")"
|
response="$(_post "$data" "$GANDI_LIVEDNS_API/$ep" "" "$m")"
|
||||||
else
|
else
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user