Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Anders Blomdell
hostinfo
Commits
6be50cb4
Commit
6be50cb4
authored
Jun 17, 2019
by
Anders Blomdell
Browse files
Make --role-holder return sane result
parent
5c0f98dd
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/hostinfo.py
View file @
6be50cb4
...
...
@@ -354,7 +354,7 @@ if __name__ == '__main__':
if
options
.
role_holder
:
who
=
hostinfo
.
role
.
holder
(
tree
,
options
.
role_holder
)
print
who
pass
sys
.
exit
(
0
)
if
options
.
yp
:
for
(
f
,
c
)
in
hostinfo
.
yp
.
generate
(
tree
,
options
.
yp_auto_domain
):
...
...
Write
Preview
Supports
Markdown
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