diff --git a/widgets/net.lua b/widgets/net.lua index 983ec7a..2457748 100644 --- a/widgets/net.lua +++ b/widgets/net.lua @@ -35,7 +35,7 @@ local function worker(args) function net.get_device() helpers.async(string.format("ip link show", device_cmd), function(ws) - ws = ws:match("(%w+): ") + ws = ws:match("(%w+): ") net.iface = ws and { ws } or {} end) end