summaryrefslogtreecommitdiff
path: root/cpu-widget
diff options
context:
space:
mode:
Diffstat (limited to 'cpu-widget')
-rw-r--r--cpu-widget/cpu-widget.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu-widget/cpu-widget.lua b/cpu-widget/cpu-widget.lua
index 783be1d..d256147 100644
--- a/cpu-widget/cpu-widget.lua
+++ b/cpu-widget/cpu-widget.lua
@@ -141,7 +141,7 @@ local function worker(args)
cpu_rows[i] = row
i = i + 1
else
- local pid, cmd, cpu, mem, cmd = line:match('(%d+)%s+(%w+)%s+([%d.]+)%s+([%d.]+)')
+ local pid, cmd, cpu, mem = line:match('(%d+)%s+(%w+)%s+([%d.]+)%s+([%d.]+)')
if pid == nil then
pid = 'PID'