Browse Source

Merge pull request #4973 from ThomasWaldmann/4934-borg-extract-is-confusing-1.1

extract: fix confusing output of borg extract --list --strip-components (1.1-maint)
TW 5 years ago
parent
commit
0898e25664
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/borg/archiver.py

+ 1 - 1
src/borg/archiver.py

@@ -778,7 +778,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)