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
f90a2ae1
You need to sign in or sign up before continuing.
Commit
f90a2ae1
authored
Jun 12, 2018
by
neilpang
Browse files
check UNABLE_TO_AUTHENTICATE
parent
206be3c1
Changes
1
Hide whitespace changes
Inline
Side-by-side
dnsapi/dns_gd.sh
View file @
f90a2ae1
...
@@ -168,5 +168,9 @@ _gd_rest() {
...
@@ -168,5 +168,9 @@ _gd_rest() {
return
1
return
1
fi
fi
_debug2 response
"
$response
"
_debug2 response
"
$response
"
if
_contains
"
$response
"
"UNABLE_TO_AUTHENTICATE"
;
then
_err
"It seems that your api key or secret is not correct."
return
1
fi
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