aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 0196bd55..1fed8b22 100644
--- a/src/lib/sos/plugintools.py
+++ b/src/lib/sos/plugintools.py
@@ -333,7 +333,7 @@ class PluginBase:
outfd = open(errfn, "w")
outfd.write(sherr)
outfd.close()
- errfn = errfn[len(self.cInfo['cmddir'] + "/" )+1:]
+ errfn = errfn[len(self.cInfo['cmddir'] + "/" ):]
self.cInfo['soslog'].debug(sherr)
else:
errfn = None