seinfo: Fix incorrect target platform check.
Incorrectly checks if policy is Xen. Signed-off-by: Chris PeBenito <chpebeni@linux.microsoft.com>
This commit is contained in:
parent
7f1eaf4f68
commit
67e979ce4f
2
seinfo
2
seinfo
|
@ -308,7 +308,7 @@ try:
|
|||
|
||||
components.append(("Validatetrans", vtq, lambda x: x.statement()))
|
||||
|
||||
if p.target_platform == "xen":
|
||||
if p.target_platform == setools.PolicyTarget.xen:
|
||||
if args.ioportconquery or args.all:
|
||||
xiopq = setools.IoportconQuery(p)
|
||||
components.append(("Ioportcon", xiopq, lambda x: x.statement()))
|
||||
|
|
Loading…
Reference in New Issue