aboutsummaryrefslogtreecommitdiffstats
path: root/sos/plugins/netdump.py
diff options
context:
space:
mode:
Diffstat (limited to 'sos/plugins/netdump.py')
-rw-r--r--sos/plugins/netdump.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/sos/plugins/netdump.py b/sos/plugins/netdump.py
index d57431b8..abe13a07 100644
--- a/sos/plugins/netdump.py
+++ b/sos/plugins/netdump.py
@@ -19,9 +19,7 @@ class netdump(sos.plugintools.PluginBase):
"""Netdump Configuration Information
"""
def checkenabled(self):
- if self.isInstalled("netdump") or exists("/etc/sysconfig/netdump*"):
- return True
- return False
+ return self.isInstalled("netdump") or exists("/etc/sysconfig/netdump*")
def setup(self):
self.addCopySpec("/etc/sysconfig/netdump")