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
88bb7b78
Commit
88bb7b78
authored
Aug 29, 2017
by
fritteli
Committed by
GitHub
Aug 29, 2017
Browse files
Typos
parent
3805e5d3
Changes
1
Hide whitespace changes
Inline
Side-by-side
dnsapi/dns_he.sh
View file @
88bb7b78
...
@@ -47,7 +47,7 @@ dns_he_add() {
...
@@ -47,7 +47,7 @@ dns_he_add() {
response
=
"
$(
_post
"
$body
"
"https://dns.he.net/"
)
"
response
=
"
$(
_post
"
$body
"
"https://dns.he.net/"
)
"
exit_code
=
"
$?
"
exit_code
=
"
$?
"
if
[
"
$exit_code
"
-eq
0
]
;
then
if
[
"
$exit_code
"
-eq
0
]
;
then
_info
"TXT record added successfuly."
_info
"TXT record added successful
l
y."
else
else
_err
"Couldn't add the TXT record."
_err
"Couldn't add the TXT record."
fi
fi
...
@@ -96,7 +96,7 @@ dns_he_rm() {
...
@@ -96,7 +96,7 @@ dns_he_rm() {
>
/dev/null
>
/dev/null
exit_code
=
"
$?
"
exit_code
=
"
$?
"
if
[
"
$exit_code
"
-eq
0
]
;
then
if
[
"
$exit_code
"
-eq
0
]
;
then
_info
"Record removed successfuly."
_info
"Record removed successful
l
y."
else
else
_err
"Could not clean (remove) up the record. Please go to HE administration interface and clean it by hand."
_err
"Could not clean (remove) up the record. Please go to HE administration interface and clean it by hand."
return
"
$exit_code
"
return
"
$exit_code
"
...
...
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