Browse Source

extract: fix missing call to ProgressIndicator.finish

Marian Beermann 8 năm trước cách đây
mục cha
commit
6ee0585b33
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      src/borg/archiver.py

+ 3 - 0
src/borg/archiver.py

@@ -588,6 +588,9 @@ class Archiver:
             except BackupOSError as e:
                 self.print_warning('%s: %s', remove_surrogates(orig_path), e)
 
+        if pi:
+            pi.finish()
+
         if not args.dry_run:
             pi = ProgressIndicatorPercent(total=len(dirs), msg='Setting directory permissions %3.0f%%',
                                           msgid='extract.permissions')