1
mirror of https://github.com/rclone/rclone synced 2024-11-24 01:26:25 +01:00

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.
This commit is contained in:
Nick Craig-Wood 2018-11-11 09:57:37 +00:00
parent c4b0a37b21
commit 4f6a942595

View File

@ -51,6 +51,7 @@ func startProgress() func() {
printProgress("")
case <-stopStats:
ticker.Stop()
printProgress("")
fs.LogPrint = oldLogPrint
fmt.Println("")
return