help="Amount of time to wait between reads [250msec].")
parser.add_option("-w", "--watermark", dest="watermark", metavar="BYTES",
type="int", default=800,
- help="Minimum number of expected bytes in the entropy pool.")
+ help="Minimum number of expected bytes in the entropy pool [800].")
(options, args) = parser.parse_args()
if len(args) != 0:
time.sleep(1.0 * options.sleep / 1000)
tries += 1
-print "WARNING: Too little entropy in the pool (min: %d, max: %d in %d reads)"%(min(values), max(values), tries)
+print "WARNING: Too little entropy in the pool (min: %d, max: %d in %d reads)"%(min(values), max(values), tries-1)
sys.exit(1)
# vim:set et: