aboutsummaryrefslogtreecommitdiffstats
path: root/sos/plugintools.py
diff options
context:
space:
mode:
Diffstat (limited to 'sos/plugintools.py')
-rw-r--r--sos/plugintools.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/sos/plugintools.py b/sos/plugintools.py
index a9f01e81..1562440a 100644
--- a/sos/plugintools.py
+++ b/sos/plugintools.py
@@ -300,7 +300,8 @@ class PluginBase:
return False
# Glob case handling is such that a valid non-glob is a reduced glob
for filespec in glob.glob(copyspec):
- self.copyPaths.append(filespec)
+ if filespec not in self.copyPaths:
+ self.copyPaths.append(filespec)
def callExtProg(self, prog):
""" Execute a command independantly of the output gathering part of