forked from TrueCloudLab/restic
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
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue