diff --git a/support/policyvers.py b/support/policyvers.py index 74b8de0a0..0d969a494 100644 --- a/support/policyvers.py +++ b/support/policyvers.py @@ -1,3 +1,4 @@ #!/usr/bin/python import selinux -print selinux.security_policyvers() +if selinux.is_selinux_enabled(): + print selinux.security_policyvers()