made init not kill itself on startup

This commit is contained in:
Izaya 2019-11-09 14:59:53 +11:00
parent ec699518b5
commit a97e3c93ee

View File

@ -1,4 +1,4 @@
if os.taskInfo(1) then if os.taskInfo(1) and os.pid() ~= 1 then
return false, "init already started" return false, "init already started"
end end
os.setenv("PWD","/boot") os.setenv("PWD","/boot")