1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2025-02-23 22:51:35 +00:00

extract: fix confusing output of borg extract --list --strip-components, fixes #4934

This commit is contained in:
Rémi Oudin 2020-02-16 15:41:06 +01:00
parent 4f516f87e0
commit 70c8538626

View file

@ -797,7 +797,7 @@ def peek_and_store_hardlink_masters(item, matched):
except BackupOSError as e:
self.print_warning('%s: %s', remove_surrogates(dir_item.path), e)
if output_list:
logging.getLogger('borg.output.list').info(remove_surrogates(orig_path))
logging.getLogger('borg.output.list').info(remove_surrogates(item.path))
try:
if dry_run:
archive.extract_item(item, dry_run=True, pi=pi)