mirror of
https://github.com/octoleo/restic.git
synced 2024-11-22 12:55:18 +00:00
ui/backup: Fix percent and eta in backup progress
Added missing call to scanFinished=true. This was causing the percent and eta to never get printed for backup progress even after the scan was finished.
This commit is contained in:
parent
0f398b82e3
commit
ed23edeb62
@ -199,6 +199,7 @@ func (p *Progress) ReportTotal(item string, s archiver.ScanStats) {
|
||||
p.scanStarted = true
|
||||
|
||||
if item == "" {
|
||||
p.scanFinished = true
|
||||
p.printer.ReportTotal(item, p.start, s)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user