made ps() use the t environment variable rather than task param

This commit is contained in:
Izaya 2019-01-08 17:59:45 +11:00
parent 1ba6cd3ade
commit c27b20bc59

View File

@ -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