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
a95ccc7e
Unverified
Commit
a95ccc7e
authored
Dec 09, 2017
by
Jens
Committed by
GitHub
Dec 09, 2017
Browse files
Update dns_servercow.sh
... didn't see this line in spellcheck ... :S
parent
8101acea
Changes
1
Show whitespace changes
Inline
Side-by-side
dnsapi/dns_servercow.sh
View file @
a95ccc7e
...
@@ -128,7 +128,7 @@ _get_root() {
...
@@ -128,7 +128,7 @@ _get_root() {
return
1
return
1
fi
fi
if
!
_contains
"
$response
"
'"error":"no such domain in user context"'
>
/dev/null
;
then
if
!
_contains
"
$response
"
'"error":"no such domain in user context"'
>
/dev/null
;
then
_sub_domain
=
$(
printf
"%s"
"
$fulldomain
"
|
cut
-d
.
-f
1-
$p
)
_sub_domain
=
$(
printf
"%s"
"
$fulldomain
"
|
cut
-d
.
-f
1-
$p
)
if
[
-z
"
$_sub_domain
"
]
;
then
if
[
-z
"
$_sub_domain
"
]
;
then
# not valid
# not valid
...
...
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