From 70c8538626d973ec8d726f11c1fe5e1cd8a38310 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Oudin?= Date: Sun, 16 Feb 2020 15:41:06 +0100 Subject: [PATCH] extract: fix confusing output of borg extract --list --strip-components, fixes #4934 --- src/borg/archiver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/borg/archiver.py b/src/borg/archiver.py index 9b73a72ea..04d8b36bd 100644 --- a/src/borg/archiver.py +++ b/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)