From 4f6a94259564566e914426c38b80df19da79f65e Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Sun, 11 Nov 2018 09:57:37 +0000 Subject: [PATCH] cmd: Make --progress update the stats right at the end Before this when rclone exited the stats would just show the last printed version, rather than the actual final state. --- cmd/progress.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/progress.go b/cmd/progress.go index fe1a68be0..ef21fd9a8 100644 --- a/cmd/progress.go +++ b/cmd/progress.go @@ -51,6 +51,7 @@ func startProgress() func() { printProgress("") case <-stopStats: ticker.Stop() + printProgress("") fs.LogPrint = oldLogPrint fmt.Println("") return