Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

Fix stats print

Nick Craig-Woodf438f1e9ef8b
diff --git a/fs/accounting.go b/fs/accounting.go
index cfba8854d..34f8fd984 100644
--- a/fs/accounting.go
+++ b/fs/accounting.go
@@ -119,7 +119,7 @@ func (s *StatsInfo) String() string {
dtSeconds := dt.Seconds()
speed := 0.0
if dt > 0 {
- speed = float64(s.bytes) / 1024 / dtSeconds
+ speed = float64(s.bytes) / dtSeconds
}
dtRounded := dt - (dt % (time.Second / 10))
buf := &bytes.Buffer{}