aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sos/plugins/selinux.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sos/plugins/selinux.py b/sos/plugins/selinux.py
index 3fe24e24..c9bc4584 100644
--- a/sos/plugins/selinux.py
+++ b/sos/plugins/selinux.py
@@ -28,7 +28,7 @@ class SELinux(Plugin, RedHatPlugin):
self.add_cmd_output('sestatus')
state = self.get_command_output('getenforce')['output']
- if state is not 'Disabled':
+ if state != 'Disabled':
self.add_cmd_output([
'ps auxZww',
'sestatus -v',