Fix support/policyvers.py not to error if building policy on a SELinux-disabled system.
This commit is contained in:
parent
22f71be4e3
commit
0656a81019
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/python
|
||||
import selinux
|
||||
print selinux.security_policyvers()
|
||||
if selinux.is_selinux_enabled():
|
||||
print selinux.security_policyvers()
|
||||
|
|
Loading…
Reference in New Issue