diff options
-rw-r--r-- | sos/plugins/veritas.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sos/plugins/veritas.py b/sos/plugins/veritas.py index bd1c778f..f2d610f7 100644 --- a/sos/plugins/veritas.py +++ b/sos/plugins/veritas.py @@ -30,6 +30,10 @@ class veritas(sos.plugintools.PluginBase): def setup(self): """ interface with vrtsexplorer to capture veritas related data """ - self.collectExtOutput(self.getOption("script")) + stat, out, runtime = self.callExtProg(self.getOption("script")) + for line in out.readlines(): + line = line.strip() + tarfile = self.doRegexFindAll(r"ftp (.*tar.gz)", line) + self.addCopySpec(tarfile) return |