diff options
author | Adrian C. (anrxc) <anrxc@sysphere.org> | 2009-10-04 00:21:15 +0200 |
---|---|---|
committer | Adrian C. (anrxc) <anrxc@sysphere.org> | 2009-10-04 00:21:15 +0200 |
commit | 724366c038777122e292091b729e7d1e9d52c5cc (patch) | |
tree | 2d569662d042143b60d07efa98b0057d5f07d0aa /load.lua | |
parent | 643ecb02874fd477d68fe01f2d3dd053bf079669 (diff) | |
download | vicious-legacy-724366c038777122e292091b729e7d1e9d52c5cc.tar.xz |
Reworked some variables in entropy, load, mpd, net, init
Diffstat (limited to 'load.lua')
-rw-r--r-- | load.lua | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -20,10 +20,9 @@ local function worker(format) local line = f:read("*line") f:close() - local avg1, avg5, avg15 = - line:match("([%d]*%.[%d]*)%s([%d]*%.[%d]*)%s([%d]*%.[%d]*)") + local l1, l5, l15 = line:match("([%d]*%.[%d]*)%s([%d]*%.[%d]*)%s([%d]*%.[%d]*)") - return {avg1, avg5, avg15} + return {l1, l5, l15} end -- }}} |