More useful error message for if not HAVE_SELINUX

reviewable/pr18780/r1
Maxim Burgerhout 12 years ago
parent 2c4d559523
commit fd9c0ca341

@ -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")

Loading…
Cancel
Save