os.getuid() no longer fails outside of a process
This commit is contained in:
parent
67363dcf92
commit
ada544d266
@ -140,6 +140,7 @@ do -- so local works
|
||||
end
|
||||
function os.getuid(pid)
|
||||
pid = pid or cT
|
||||
if not tT[pid] then return "superuser" end
|
||||
return tT[pid].u
|
||||
end
|
||||
function os.users()
|
||||
|
Loading…
Reference in New Issue
Block a user