Commit 730031ec by Michael DeHaan

Merge pull request #1479 from wzzrd/selinux

More useful error message for if not HAVE_SELINUX
parents 9a128731 82cc382c
......@@ -164,7 +164,7 @@ def main():
)
if not HAVE_SELINUX:
module.fail_json(msg="SELinux not supported on this host.")
module.fail_json(msg="This module requires libselinux-python support")
if not HAVE_SEMANAGE:
module.fail_json(msg="This module requires libsemanage-python support")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment