forked from TrueCloudLab/restic
debug: fix percentage
This commit is contained in:
parent
133ac42a0b
commit
52061e817c
1 changed files with 1 additions and 1 deletions
|
@ -245,7 +245,7 @@ outer:
|
||||||
eta := time.Duration(float64(remaining)/gps) * time.Second
|
eta := time.Duration(float64(remaining)/gps) * time.Second
|
||||||
|
|
||||||
fmt.Printf("\r%d byte of %d done (%.2f%%), %.2f guesses per second, ETA %v",
|
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)
|
gps, eta)
|
||||||
info = time.Now()
|
info = time.Now()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue