mirror of
https://github.com/borgbackup/borg.git
synced 2025-02-12 17:35:44 +00:00
Added missing path prefix strip for hard links
This commit is contained in:
parent
af95b7c996
commit
9e11ae567d
1 changed files with 1 additions and 1 deletions
|
@ -259,7 +259,7 @@ def process_file(self, path, st, cache):
|
||||||
source = self.hard_links.get((st.st_ino, st.st_dev))
|
source = self.hard_links.get((st.st_ino, st.st_dev))
|
||||||
if (st.st_ino, st.st_dev) in self.hard_links:
|
if (st.st_ino, st.st_dev) in self.hard_links:
|
||||||
item = self.stat_attrs(st, path)
|
item = self.stat_attrs(st, path)
|
||||||
item.update({'path': path, 'source': source})
|
item.update({'path': safe_path, 'source': source})
|
||||||
self.add_item(item)
|
self.add_item(item)
|
||||||
return
|
return
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue