aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sos/plugins/ds.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/sos/plugins/ds.py b/sos/plugins/ds.py
index 6f24cb8c..6709d8b5 100644
--- a/sos/plugins/ds.py
+++ b/sos/plugins/ds.py
@@ -46,5 +46,7 @@ class ds(sos.plugintools.PluginBase):
if "ds7" in self.check_version():
self.addCopySpec("/opt/redhat-ds/slapd-*/config")
self.addCopySpec("/opt/redhat-ds/slapd-*/logs")
+ if not self.check_version():
+ self.addAlert("Directory Server not found.")
return