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
b1b33680
Commit
b1b33680
authored
Jul 12, 2022
by
Bjarke Bruun
Browse files
Fixed a missed 'grep -o' to _egrep_o()
parent
ae71a5ab
Changes
1
Hide whitespace changes
Inline
Side-by-side
dnsapi/dns_dnsservices.sh
View file @
b1b33680
...
...
@@ -146,7 +146,7 @@ _get_root() {
fi
done
)
else
rootZone
=
$(
echo
"
$result
"
|
grep
-
o
'"name":"[^"]*'
|
cut
-d
'"'
-f4
)
rootZone
=
$(
echo
"
$result
"
|
_e
grep
_
o
'"name":"[^"]*'
|
cut
-d
'"'
-f4
)
_debug2 _get_root
"- only found 1 domain in API:
$rootZone
"
fi
...
...
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