From c27b20bc59f767715d1f52633a953175e07a05dd Mon Sep 17 00:00:00 2001 From: XeonSquared Date: Tue, 8 Jan 2019 17:59:45 +1100 Subject: [PATCH] made ps() use the t environment variable rather than task param --- exec/ps.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exec/ps.lua b/exec/ps.lua index dadbab1..89d3ed5 100644 --- a/exec/ps.lua +++ b/exec/ps.lua @@ -1,4 +1,4 @@ print("PID# VTY# Name") for k,v in pairs(tTasks) do - print(string.format("%4d %4d %s",k,v.t or 1,v.n)) + print(string.format("%4d %4d %s",k,v.e.t or 0,v.n)) end