diff --git a/darc/archive.py b/darc/archive.py index 40fa35541..dc9209ff7 100644 --- a/darc/archive.py +++ b/darc/archive.py @@ -259,7 +259,7 @@ def process_file(self, path, st, cache): source = self.hard_links.get((st.st_ino, st.st_dev)) if (st.st_ino, st.st_dev) in self.hard_links: item = self.stat_attrs(st, path) - item.update({'path': path, 'source': source}) + item.update({'path': safe_path, 'source': source}) self.add_item(item) return else: