mirror of
https://github.com/restic/restic.git
synced 2025-08-21 01:47:48 +00:00
debug: fix percentage
This commit is contained in:

committed by
Michael Eischer

parent
133ac42a0b
commit
52061e817c
@@ -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()
|
||||
}
|
||||
|
Reference in New Issue
Block a user