aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sos/plugins/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sos/plugins/__init__.py b/sos/plugins/__init__.py
index 10fdae53..9d04939b 100644
--- a/sos/plugins/__init__.py
+++ b/sos/plugins/__init__.py
@@ -288,7 +288,7 @@ class Plugin(object):
# skip recursive copying of symlink pointing to itself.
if (absdest != srcpath):
- self._do_copy_path(absdest)
+ self._do_copy_path(self.strip_sysroot(absdest))
else:
self._log_debug("link '%s' points to itself, skipping target..."
% linkdest)