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
1 changed files with 1 additions and 1 deletions

View File

@ -797,7 +797,7 @@ class Archiver:
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)