X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/e815650ecceedc5e6b68d8e5571ed8839d1c8d3d..75df71f9a10b26522ff1b9e698f9f0b4ee56abef:/widgets/sysload.lua

diff --git a/widgets/sysload.lua b/widgets/sysload.lua
index b10c5e2..d8e4713 100644
--- a/widgets/sysload.lua
+++ b/widgets/sysload.lua
@@ -29,7 +29,7 @@ local function worker(args)
 
     function update()
         local f = io.open("/proc/loadavg")
-        local ret = f:read("*a")
+        local ret = f:read("*all")
         f:close()
 
         load_1, load_5, load_15 = string.match(ret, "([^%s]+) ([^%s]+) ([^%s]+)")