From 7b8c53214153f418f356f992cff33403c5737350 Mon Sep 17 00:00:00 2001 From: XeonSquared Date: Tue, 24 Mar 2020 16:25:06 +1100 Subject: [PATCH] made getty record the basepid properly --- service/getty.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/getty.lua b/service/getty.lua index fcdb926..0c5797c 100644 --- a/service/getty.lua +++ b/service/getty.lua @@ -55,10 +55,10 @@ local function allocate() end function start() +basepid = os.spawn(function() scan() allocate() dprint("screens ready") -basepid = os.spawn(function() while true do coroutine.yield() for k,v in pairs(pids) do