aboutsummaryrefslogtreecommitdiff
path: root/mem.lua
diff options
context:
space:
mode:
authorAdrian C. (anrxc) <anrxc@sysphere.org>2009-09-14 17:25:23 +0200
committerAdrian C. (anrxc) <anrxc@sysphere.org>2009-09-14 17:25:23 +0200
commit2a5126f4f0c0a3e073becb98f49499363072643d (patch)
treecd9e79c76420d01c94544ce039a6a73eb667e4e5 /mem.lua
parent4f3599db00b3a55a0ff6e52530bdad282e97f8f3 (diff)
downloadvicious-legacy-2a5126f4f0c0a3e073becb98f49499363072643d.tar.xz
General cleanup
Diffstat (limited to 'mem.lua')
-rw-r--r--mem.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/mem.lua b/mem.lua
index 9a38305..e501229 100644
--- a/mem.lua
+++ b/mem.lua
@@ -20,7 +20,6 @@ local function worker(format)
-- Get meminfo
local f = io.open("/proc/meminfo")
- -- Get data
for line in f:lines() do
if line:match("^MemTotal.*") then
mem_total = math.floor(tonumber(line:match("([%d]+)")) / 1024)