mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-24 14:11:42 +00:00
Fix return values of some functions.
This commit is contained in:
parent
e431df06ab
commit
11bfb1e5fd
@ -116,6 +116,7 @@ _check_and_save() {
|
|||||||
# See: https://github.com/Neilpang/acme.sh/wiki/DNS-API-Dev-Guide
|
# See: https://github.com/Neilpang/acme.sh/wiki/DNS-API-Dev-Guide
|
||||||
_get_zone() {
|
_get_zone() {
|
||||||
_zone=$(echo "$1" | rev | cut -d . -f1-2 | rev).
|
_zone=$(echo "$1" | rev | cut -d . -f1-2 | rev).
|
||||||
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
# Removes the domain/subdomain from the entry since kasserver
|
# Removes the domain/subdomain from the entry since kasserver
|
||||||
@ -124,6 +125,7 @@ _get_zone() {
|
|||||||
# See: https://github.com/Neilpang/acme.sh/wiki/DNS-API-Dev-Guide
|
# See: https://github.com/Neilpang/acme.sh/wiki/DNS-API-Dev-Guide
|
||||||
_get_record_name() {
|
_get_record_name() {
|
||||||
_record_name=$(echo "$1" | rev | cut -d"." -f3- | rev)
|
_record_name=$(echo "$1" | rev | cut -d"." -f3- | rev)
|
||||||
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
# Retrieve the DNS record ID
|
# Retrieve the DNS record ID
|
||||||
|
Loading…
Reference in New Issue
Block a user