aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorastokes <astokes@ef72aa8b-4018-0410-8976-d6e080ef94d8>2010-04-28 15:14:16 +0000
committerastokes <astokes@ef72aa8b-4018-0410-8976-d6e080ef94d8>2010-04-28 15:14:16 +0000
commit0ad2854d11bed8930e6b7b05af446210e2cbed4f (patch)
tree0ea024d61bb5ce18336cfe521032ef7ac96221db
parent2469090e38855fe5615a98619a5ddc05a6476703 (diff)
downloadsos-0ad2854d11bed8930e6b7b05af446210e2cbed4f.tar.gz
fixed traceback
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@948 ef72aa8b-4018-0410-8976-d6e080ef94d8
-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