From ed23edeb624a55ed40f31ff77071cd7dc2ab34bb Mon Sep 17 00:00:00 2001 From: Aneesh Nireshwalia Date: Sat, 21 Jan 2023 13:25:08 -0700 Subject: [PATCH] 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. --- internal/ui/backup/progress.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/ui/backup/progress.go b/internal/ui/backup/progress.go index 71facda4c..720a2a58f 100644 --- a/internal/ui/backup/progress.go +++ b/internal/ui/backup/progress.go @@ -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) } }