Browse Source
Update dns_servercow.sh
... didn't see this line in spellcheck ... :S
cron
Jens
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
dnsapi/dns_servercow.sh
|
@ -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 |
|
|