Browse Source
cloudflare sample remainings in text removed.
pull/1522/head
diseq
8 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
dnsapi/dns_one.sh
|
|
|
@ -24,7 +24,7 @@ dns_one_add() { |
|
|
|
if [ -z "$ONECOM_USER" ] || [ -z "$ONECOM_PASSWORD" ]; then |
|
|
|
ONECOM_USER="" |
|
|
|
ONECOM_PASSWORD="" |
|
|
|
_err "You didn't specify a cloudflare api key and email yet." |
|
|
|
_err "You didn't specify a one.com username and password yet." |
|
|
|
_err "Please create the key and try again." |
|
|
|
return 1 |
|
|
|
fi |
|
|
|
@ -120,7 +120,7 @@ dns_one_rm() { |
|
|
|
if [ -z "$ONECOM_USER" ] || [ -z "$ONECOM_PASSWORD" ]; then |
|
|
|
ONECOM_USER="" |
|
|
|
ONECOM_PASSWORD="" |
|
|
|
_err "You didn't specify a cloudflare api key and email yet." |
|
|
|
_err "You didn't specify a one.com username and password yet." |
|
|
|
_err "Please create the key and try again." |
|
|
|
return 1 |
|
|
|
fi |
|
|
|
|