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
bb276fc9
Commit
bb276fc9
authored
May 23, 2016
by
neil
Browse files
minor.
parent
8d5618c4
Changes
2
Hide whitespace changes
Inline
Side-by-side
dnsapi/dns_cx.sh
View file @
bb276fc9
...
...
@@ -44,13 +44,13 @@ dns_cx_add() {
return
1
fi
if
[
"
$count
"
=
=
"0"
]
;
then
if
[
"
$count
"
=
"0"
]
;
then
add_record
$_domain
$_sub_domain
$txtvalue
else
update_record
$_domain
$_sub_domain
$txtvalue
fi
if
[
"
$?
"
=
=
"0"
]
;
then
if
[
"
$?
"
=
"0"
]
;
then
return
0
fi
return
1
...
...
dnsapi/dns_dp.sh
View file @
bb276fc9
...
...
@@ -44,7 +44,7 @@ dns_dp_add() {
return
1
fi
if
[
"
$count
"
=
=
"0"
]
;
then
if
[
"
$count
"
=
"0"
]
;
then
add_record
$_domain
$_sub_domain
$txtvalue
else
update_record
$_domain
$_sub_domain
$txtvalue
...
...
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