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
500a005a
Commit
500a005a
authored
Jan 11, 2021
by
Stephen Dendtler
Browse files
_get_root now does not skip the first label of the domain
parent
b79f63db
Changes
1
Hide whitespace changes
Inline
Side-by-side
dnsapi/dns_rackcorp.sh
View file @
500a005a
...
@@ -79,7 +79,7 @@ dns_rackcorp_rm() {
...
@@ -79,7 +79,7 @@ dns_rackcorp_rm() {
# _domain=domain.com
# _domain=domain.com
_get_root
()
{
_get_root
()
{
domain
=
$1
domain
=
$1
i
=
2
i
=
1
p
=
1
p
=
1
if
!
_rackcorp_api dns.domain.getall
"
\"
name
\"
:
\"
$domain
\"
"
;
then
if
!
_rackcorp_api dns.domain.getall
"
\"
name
\"
:
\"
$domain
\"
"
;
then
return
1
return
1
...
...
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