Jelajahi Sumber

Merge pull request #4949 from Gu1nness/4934-borg-extract-is-confusing

Fix #4934 : The path given by borg extract --strip-components --list is not confusing anymore
TW 5 tahun lalu
induk
melakukan
a5152012f4
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      src/borg/archiver.py

+ 1 - 1
src/borg/archiver.py

@@ -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)