Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
11bfb1e5
Commit
11bfb1e5
authored
Mar 16, 2018
by
Martin Kammerlander
Browse files
Fix return values of some functions.
parent
e431df06
Changes
1
Hide whitespace changes
Inline
Side-by-side
dnsapi/dns_kas.sh
View file @
11bfb1e5
...
...
@@ -116,6 +116,7 @@ _check_and_save() {
# See: https://github.com/Neilpang/acme.sh/wiki/DNS-API-Dev-Guide
_get_zone
()
{
_zone
=
$(
echo
"
$1
"
| rev |
cut
-d
.
-f1-2
| rev
)
.
return
0
}
# 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
_get_record_name
()
{
_record_name
=
$(
echo
"
$1
"
| rev |
cut
-d
"."
-f3-
| rev
)
return
0
}
# Retrieve the DNS record ID
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment