made getty record the basepid properly

This commit is contained in:
Izaya 2020-03-24 16:25:06 +11:00
parent 77c69f651b
commit 7b8c532141
1 changed files with 1 additions and 1 deletions

View File

@ -55,10 +55,10 @@ local function allocate()
end end
function start() function start()
basepid = os.spawn(function()
scan() scan()
allocate() allocate()
dprint("screens ready") dprint("screens ready")
basepid = os.spawn(function()
while true do while true do
coroutine.yield() coroutine.yield()
for k,v in pairs(pids) do for k,v in pairs(pids) do