mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-22 21:21:42 +00:00
removed the probably last blank line
This commit is contained in:
parent
30416f54d1
commit
3b01bf7bda
@ -37,7 +37,7 @@ dns_nm_add() {
|
|||||||
erg="$(_get "$get")"
|
erg="$(_get "$get")"
|
||||||
|
|
||||||
if [ "$?" != "0" ]; then
|
if [ "$?" != "0" ]; then
|
||||||
_err "error Auto $zone TXT: $txt"
|
_err "error Auto $zone TXT: $txt_value"
|
||||||
_err "Error $?"
|
_err "Error $?"
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
@ -45,11 +45,11 @@ dns_nm_add() {
|
|||||||
if _contains "$erg" "Success"; then
|
if _contains "$erg" "Success"; then
|
||||||
_info "Success, TXT Added, OK"
|
_info "Success, TXT Added, OK"
|
||||||
else
|
else
|
||||||
_err "error Auto $zone TXT: $txt erg: $erg"
|
_err "error Auto $zone TXT: $txt_value erg: $erg"
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
_debug "ok Auto $zone TXT: $txt erg: $erg"
|
_debug "ok Auto $zone TXT: $txt_value erg: $erg"
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -71,7 +71,7 @@ dns_nm_rm() {
|
|||||||
get="https://namemaster.de/api/api.php?User=$NM_user&Password=$NM_md5&Antwort=csv&Int=0&Typ=TXT&Zone=$zone&hostname=$fulldomain&TXT=$txt_value&Action=Delete_IN&TTL=0"
|
get="https://namemaster.de/api/api.php?User=$NM_user&Password=$NM_md5&Antwort=csv&Int=0&Typ=TXT&Zone=$zone&hostname=$fulldomain&TXT=$txt_value&Action=Delete_IN&TTL=0"
|
||||||
erg="$(_get "$get")"
|
erg="$(_get "$get")"
|
||||||
if [ "$?" != "0" ]; then
|
if [ "$?" != "0" ]; then
|
||||||
_err "error $action $zone TXT: $txt"
|
_err "error $action $zone TXT: $txt_value"
|
||||||
_err "Error $?"
|
_err "Error $?"
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
@ -79,12 +79,11 @@ dns_nm_rm() {
|
|||||||
if _contains "$erg" "Success"; then
|
if _contains "$erg" "Success"; then
|
||||||
_info "Success, TXT removed, OK"
|
_info "Success, TXT removed, OK"
|
||||||
else
|
else
|
||||||
_err "error Auto $zone TXT: $txt erg: $erg"
|
_err "error Auto $zone TXT: $txt_value erg: $erg"
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
_debug "ok Auto $zone TXT: $txt erg: $erg"
|
_debug "ok Auto $zone TXT: $txt_value erg: $erg"
|
||||||
return 0
|
return 0
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user