diff options
-rw-r--r-- | sos/plugins/veritas.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sos/plugins/veritas.py b/sos/plugins/veritas.py index f2d610f7..bb570294 100644 --- a/sos/plugins/veritas.py +++ b/sos/plugins/veritas.py @@ -34,6 +34,7 @@ class veritas(sos.plugintools.PluginBase): for line in out.readlines(): line = line.strip() tarfile = self.doRegexFindAll(r"ftp (.*tar.gz)", line) - self.addCopySpec(tarfile) + if len(tarfile) == 1: + self.addCopySpec(tarfile[0]) return |