aboutsummaryrefslogtreecommitdiffstats
path: root/sos/plugins/postfix.py
diff options
context:
space:
mode:
Diffstat (limited to 'sos/plugins/postfix.py')
-rw-r--r--sos/plugins/postfix.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/sos/plugins/postfix.py b/sos/plugins/postfix.py
index 9ab78b2a..7b1e1808 100644
--- a/sos/plugins/postfix.py
+++ b/sos/plugins/postfix.py
@@ -19,10 +19,8 @@ class postfix(sos.plugintools.PluginBase):
"""mail server related information
"""
def checkenabled(self):
- if self.isInstalled("postfix") or exists("/etc/rc.d/init.d/postfix"):
- return True
- return False
-
+ return self.isInstalled("postfix") or exists("/etc/rc.d/init.d/postfix")
+
def setup(self):
self.addCopySpec("/etc/mail")
self.addCopySpec("/etc/postfix/main.cf")