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:
Aneesh Nireshwalia 2023-01-21 13:25:08 -07:00
parent 0f398b82e3
commit ed23edeb62
1 changed files with 1 additions and 0 deletions

View File

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