From 82cc382c6a4257b18713cf96863a7760a0eaec32 Mon Sep 17 00:00:00 2001 From: Maxim Burgerhout Date: Mon, 29 Oct 2012 16:23:00 +0100 Subject: [PATCH] More useful error message for if not HAVE_SELINUX --- library/seboolean | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/seboolean b/library/seboolean index 799aace89c..d9a3222ca0 100755 --- a/library/seboolean +++ b/library/seboolean @@ -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")