Fix support/policyvers.py not to error if building policy on a SELinux-disabled system.

This commit is contained in:
Chris PeBenito 2013-09-23 14:26:32 -04:00
parent 22f71be4e3
commit 0656a81019

View File

@ -1,3 +1,4 @@
#!/usr/bin/python
import selinux
print selinux.security_policyvers()
if selinux.is_selinux_enabled():
print selinux.security_policyvers()