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
9b173dcd
Commit
9b173dcd
authored
Aug 15, 2019
by
Sky Chen
Committed by
neil
Aug 15, 2019
Browse files
fixed #2441: dns_namesilo.sh _get_root (#2442)
fixed #2441: dns_namesilo.sh _get_root (#2442)
parent
5bdfdfef
Changes
1
Hide whitespace changes
Inline
Side-by-side
dnsapi/dns_namesilo.sh
View file @
9b173dcd
...
@@ -110,7 +110,7 @@ _get_root() {
...
@@ -110,7 +110,7 @@ _get_root() {
return
1
return
1
fi
fi
if
_contains
"
$response
"
"
$host
"
;
then
if
_contains
"
$response
"
"
<domain>
$host
"
;
then
_sub_domain
=
$(
printf
"%s"
"
$domain
"
|
cut
-d
.
-f
1-
$p
)
_sub_domain
=
$(
printf
"%s"
"
$domain
"
|
cut
-d
.
-f
1-
$p
)
_domain
=
"
$host
"
_domain
=
"
$host
"
return
0
return
0
...
...
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