Merge pull request #1479 from wzzrd/selinux

More useful error message for if not HAVE_SELINUX
pull/1648/head
Michael DeHaan 12 years ago
commit 730031ec1f

@ -164,7 +164,7 @@ def main():
) )
if not HAVE_SELINUX: 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: if not HAVE_SEMANAGE:
module.fail_json(msg="This module requires libsemanage-python support") module.fail_json(msg="This module requires libsemanage-python support")

Loading…
Cancel
Save