projects
/
mirror
/
dsa-nagios.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
dsa-check-hpasm: Fix a typo and add myself to (c)
[mirror/dsa-nagios.git]
/
dsa-nagios-checks
/
checks
/
dsa-check-entropy
diff --git
a/dsa-nagios-checks/checks/dsa-check-entropy
b/dsa-nagios-checks/checks/dsa-check-entropy
index
2ba2c11
..
e2c61e2
100755
(executable)
--- a/
dsa-nagios-checks/checks/dsa-check-entropy
+++ b/
dsa-nagios-checks/checks/dsa-check-entropy
@@
-73,7
+73,7
@@
while tries <= options.retries:
time.sleep(1.0 * options.sleep / 1000)
tries += 1
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:
sys.exit(1)
# vim:set et: