X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/e79cd9c029d0aa88327e62573602aa4748006641..945f220e022e69c1aeda0ee86558be26f19bdd40:/widgets/net.lua?ds=inline diff --git a/widgets/net.lua b/widgets/net.lua index 2585ad4..d859d91 100644 --- a/widgets/net.lua +++ b/widgets/net.lua @@ -29,7 +29,7 @@ local net = { function net.get_device() f = io.popen("ip link show | cut -d' ' -f2,9") - ws = f:read("*a") + ws = f:read("*all") f:close() ws = ws:match("%w+: UP") or ws:match("ppp%w+: UNKNOWN") if ws ~= nil then