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:
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()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user