X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/b60b9b7c2d65a5c5f8e68fbec27665e9abb99f76..0d5c25ffd4ed4d5c1a06b1f0b731b1cb6db79b8b:/widgets/maildir.lua?ds=sidebyside diff --git a/widgets/maildir.lua b/widgets/maildir.lua index 8fe097e..bd79221 100644 --- a/widgets/maildir.lua +++ b/widgets/maildir.lua @@ -53,7 +53,7 @@ local function worker(args) local np = io.popen("find " .. line .. "/new -mindepth 1 -type f " .. "-not -name '.*' -printf a") - local mailstring = np:read("*all") + local mailstring = np:read("*a") -- Strip off leading mailpath. local box = string.match(line, mailpath .. "/*([^/]+)")