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
09576f2f
Unverified
Commit
09576f2f
authored
Mar 28, 2018
by
neil
Committed by
GitHub
Mar 28, 2018
Browse files
Merge pull request #1445 from martgras/patch-2
dns_he - proposed fix for #1438
parents
bba474dc
fe843bc4
Changes
1
Hide whitespace changes
Inline
Side-by-side
dnsapi/dns_he.sh
View file @
09576f2f
...
...
@@ -143,7 +143,7 @@ _find_zone() {
_debug
"Looking for zone
\"
${
_attempted_zone
}
\"
"
line_num
=
"
$(
echo
"
$_zone_names
"
|
grep
-n
"
$_attempted_zone
"
|
cut
-d
:
-f
1
)
"
line_num
=
"
$(
echo
"
$_zone_names
"
|
grep
-n
"
^
$_attempted_zone
"
|
cut
-d
:
-f
1
)
"
if
[
"
$line_num
"
]
;
then
_zone_id
=
$(
echo
"
$_zone_ids
"
|
sed
-n
"
${
line_num
}
p"
)
...
...
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