X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/e79cd9c029d0aa88327e62573602aa4748006641..04e310cb3d28037afa4a1a44324faafcb2b54b28:/widgets/net.lua 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