[Cluster-devel] conga/luci/utils luci_cleanup
rmccabe at sourceware.org
rmccabe at sourceware.org
Thu Aug 3 18:33:55 UTC 2006
CVSROOT: /cvs/cluster
Module name: conga
Changes by: rmccabe at sourceware.org 2006-08-03 18:33:54
Modified files:
luci/utils : luci_cleanup
Log message:
forgot to close /dev/urandom
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/utils/luci_cleanup.diff?cvsroot=cluster&r1=1.1&r2=1.2
--- conga/luci/utils/luci_cleanup 2006/08/03 18:33:04 1.1
+++ conga/luci/utils/luci_cleanup 2006/08/03 18:33:54 1.2
@@ -114,6 +114,7 @@
try:
rand = file('/dev/urandom', 'r')
passwd = rand.read(16)
+ rand.close()
except:
sys.stderr.write('Unable to read from /dev/urandom')
return -1
More information about the Cluster-devel
mailing list