aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/sos/plugintools.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/sos/plugintools.py b/src/lib/sos/plugintools.py
index 27203765..8c51fcfc 100644
--- a/src/lib/sos/plugintools.py
+++ b/src/lib/sos/plugintools.py
@@ -328,7 +328,6 @@ class PluginBase:
outfd = open(outfn, "w")
outfd.write(shout)
outfd.close()
- outfn = outfn[len(self.cInfo['cmddir'])+1:]
if len(sherr) > 0:
errfn = outfn + ".err"
outfd = open(errfn, "w")
@@ -338,6 +337,7 @@ class PluginBase:
self.cInfo['soslog'].debug(sherr)
else:
errfn = None
+ outfn = outfn[len(self.cInfo['cmddir'])+1:]
# sosStatus(status)
# save info for later