Commit 82cc382c by Maxim Burgerhout

More useful error message for if not HAVE_SELINUX

parent ea8cb0b2
......@@ -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