More useful error message for if not HAVE_SELINUX
This commit is contained in:
parent
ea8cb0b2e9
commit
82cc382c6a
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue