Fix missing cmd name in cpu widget
This commit is contained in:
parent
2987185755
commit
8839e853df
|
@ -141,7 +141,7 @@ local function worker(args)
|
||||||
cpu_rows[i] = row
|
cpu_rows[i] = row
|
||||||
i = i + 1
|
i = i + 1
|
||||||
else
|
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
|
if pid == nil then
|
||||||
pid = 'PID'
|
pid = 'PID'
|
||||||
|
|
Loading…
Reference in New Issue