aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sos/archive.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sos/archive.py b/sos/archive.py
index 4b30630b..528cfa57 100644
--- a/sos/archive.py
+++ b/sos/archive.py
@@ -428,7 +428,7 @@ class FileCacheArchive(Archive):
source = os.path.relpath(source)
self.log_debug("Adding link %s -> %s for link follow up" %
(link_name, source))
- self.add_link(source, link_path)
+ self.add_link(source, link_name)
elif os.path.isdir(host_source):
self.log_debug("Adding dir %s for link follow up" % source)
self.add_dir(host_source)