2
2
mirror of https://github.com/octoleo/restic.git synced 2024-12-23 03:18:55 +00:00

debug: fix percentage

This commit is contained in:
Alexander Neumann 2018-09-29 14:42:19 +02:00 committed by Michael Eischer
parent 133ac42a0b
commit 52061e817c

View File

@ -245,7 +245,7 @@ outer:
eta := time.Duration(float64(remaining)/gps) * time.Second
fmt.Printf("\r%d byte of %d done (%.2f%%), %.2f guesses per second, ETA %v",
i, len(input), float32(i)/float32(len(input)),
i, len(input), float32(i)/float32(len(input)*100),
gps, eta)
info = time.Now()
}