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
aa262d41
Commit
aa262d41
authored
Jan 31, 2017
by
neil
Committed by
GitHub
Jan 31, 2017
Browse files
Merge pull request #566 from Neilpang/dev
fix for solaris
parents
da687754
646c0bfc
Changes
1
Hide whitespace changes
Inline
Side-by-side
dnsapi/dns_cx.sh
View file @
aa262d41
...
@@ -82,7 +82,7 @@ existing_records() {
...
@@ -82,7 +82,7 @@ existing_records() {
return
1
return
1
fi
fi
seg
=
$(
printf
"%s
\n
"
"
$response
"
| _egrep_o
'[^{]*host":"'
"
$_sub_domain
"
'"[^}]*\}'
)
seg
=
$(
printf
"%s
\n
"
"
$response
"
| _egrep_o
'
"record_id":
[^{]*host":"'
"
$_sub_domain
"
'"[^}]*\}'
)
_debug seg
"
$seg
"
_debug seg
"
$seg
"
if
[
-z
"
$seg
"
]
;
then
if
[
-z
"
$seg
"
]
;
then
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