From 0ad2854d11bed8930e6b7b05af446210e2cbed4f Mon Sep 17 00:00:00 2001 From: astokes Date: Wed, 28 Apr 2010 15:14:16 +0000 Subject: fixed traceback git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@948 ef72aa8b-4018-0410-8976-d6e080ef94d8 --- sos/plugins/ds.py | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit