made readut self-contained.
This commit is contained in:
parent
4477b2769c
commit
64d3958451
@ -119,7 +119,7 @@ do -- so local works
|
|||||||
end
|
end
|
||||||
return false
|
return false
|
||||||
end
|
end
|
||||||
function os.readut()
|
local function readut()
|
||||||
local f=fs.open("/boot/sys/users.dat","rb")
|
local f=fs.open("/boot/sys/users.dat","rb")
|
||||||
if not f then return false end
|
if not f then return false end
|
||||||
local C=fs.readall(f)
|
local C=fs.readall(f)
|
||||||
@ -187,5 +187,5 @@ do -- so local works
|
|||||||
end
|
end
|
||||||
return false
|
return false
|
||||||
end
|
end
|
||||||
spawn("read users",os.readut)
|
spawn("read users",readut)
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user