change proc-utils for proper support of static pids
This commit is contained in:
parent
85dbe20f9f
commit
4fb2fc0e0e
@ -1,11 +1,10 @@
|
||||
function pkill(P)
|
||||
tT[P] = nil
|
||||
end
|
||||
function killsession(sI)
|
||||
local rt={}
|
||||
for k,v in ipairs(tT) do
|
||||
if v[3].sI == sI then
|
||||
T.insert(rt,1,k)
|
||||
pkill(k)
|
||||
end
|
||||
end
|
||||
for k,v in ipairs(rt) do
|
||||
T.remove(tT,v)
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user