mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-05-07 19:02:45 +00:00
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 _H2="X-Api-Key: $GANDI_LIVEDNS_KEY"
|
||||
|
||||
if [ "$data" -o "$m" == "DELETE" ]; then
|
||||
if [ "$data" ] || [ "$m" = "DELETE" ]; then
|
||||
_debug data "$data"
|
||||
response="$(_post "$data" "$GANDI_LIVEDNS_API/$ep" "" "$m")"
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user