Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
d6780f9e
Commit
d6780f9e
authored
Jul 28, 2017
by
Ondrej Simek
Browse files
Retain an exit code
parent
8534e3b2
Changes
1
Show whitespace changes
Inline
Side-by-side
dnsapi/dns_he.sh
View file @
d6780f9e
...
@@ -46,7 +46,9 @@ dns_he_add() {
...
@@ -46,7 +46,9 @@ dns_he_add() {
body
=
"
$body
&TTL=300"
body
=
"
$body
&TTL=300"
body
=
"
$body
&hosted_dns_editrecord=Submit"
body
=
"
$body
&hosted_dns_editrecord=Submit"
response
=
"
$(
_post
"
$body
"
"https://dns.he.net/"
)
"
response
=
"
$(
_post
"
$body
"
"https://dns.he.net/"
)
"
exitcode
=
$?
_debug2 response
"
$response
"
_debug2 response
"
$response
"
return
$exitvalue
}
}
#-- dns_he_rm() - Remove TXT record ------------------------------------
#-- dns_he_rm() - Remove TXT record ------------------------------------
...
...
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