X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/34e47e46ff708d3b79c824dacc614b47a286eefe..d2b3a0804d6f12d1b5a37c444936c37a7a70c0ae:/widgets/maildir.lua 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 .. "/*([^/]+)")