diff options
author | Adrian C. (anrxc) <anrxc@sysphere.org> | 2009-08-03 04:33:18 +0200 |
---|---|---|
committer | Adrian C. (anrxc) <anrxc@sysphere.org> | 2009-08-03 04:33:18 +0200 |
commit | 3fe67d4311f1f099da9ff13849c70a97d5078228 (patch) | |
tree | 3cca98a867e1d65a25751bb2cd28133e4ce0b7d7 /entropy.lua | |
parent | 09fda0ab05c066a8f630e1d7a36f401bbc0ca68e (diff) | |
download | vicious-legacy-3fe67d4311f1f099da9ff13849c70a97d5078228.tar.xz |
Coding style changes in entropy, load, thermal, uptime.
Diffstat (limited to 'entropy.lua')
-rw-r--r-- | entropy.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/entropy.lua b/entropy.lua index a41fb38..c9b798d 100644 --- a/entropy.lua +++ b/entropy.lua @@ -25,7 +25,7 @@ function worker(format, poolsize) -- Get available entropy local f = io.open("/proc/sys/kernel/random/entropy_avail") - local ent_avail = f:read() + local ent_avail = f:read("*line") f:close() -- Calculate percentage |