mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-11-09 16:01:46 +00:00
further shellcheck fixes
This commit is contained in:
parent
598f29b78e
commit
a1c4d159dd
@ -44,7 +44,6 @@ dns_nm_add() {
|
|||||||
|
|
||||||
get="$namemaster_api?User=$NM_user&Password=$NM_sha256&Antwort=csv&Typ=ACME&zone=$zone&hostname=$fulldomain&TXT=$txt_value&Action=Auto&Lifetime=3600"
|
get="$namemaster_api?User=$NM_user&Password=$NM_sha256&Antwort=csv&Typ=ACME&zone=$zone&hostname=$fulldomain&TXT=$txt_value&Action=Auto&Lifetime=3600"
|
||||||
|
|
||||||
|
|
||||||
if ! erg="$(_get "$get")"; then
|
if ! erg="$(_get "$get")"; then
|
||||||
_err "error Adding $fulldomain TXT: $txt_value"
|
_err "error Adding $fulldomain TXT: $txt_value"
|
||||||
return 1
|
return 1
|
||||||
@ -105,8 +104,7 @@ _get_root() {
|
|||||||
_err "error getting Zone"
|
_err "error getting Zone"
|
||||||
return 1
|
return 1
|
||||||
else
|
else
|
||||||
if _contains "$zone" "hostname not found"
|
if _contains "$zone" "hostname not found"; then
|
||||||
then
|
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user