diff --git a/src/borg/archive.py b/src/borg/archive.py index 27917ed96..cdbd483e3 100644 --- a/src/borg/archive.py +++ b/src/borg/archive.py @@ -519,7 +519,7 @@ def extract_helper(self, dest, item, path, stripped_components, original_path, h # assign chunks to this item, since the item which had the chunks was not extracted item.chunks = chunks yield hardlink_set - if not hardlink_set and hardlink_masters: # 2nd term, is it correct/needed? + if not hardlink_set and hardlink_masters: # Update master entry with extracted item path, so that following hardlinks don't extract twice. hardlink_masters[item.get('source') or original_path] = (None, path)