From 73ce20f41b68607769f6347dce540453e6d11413 Mon Sep 17 00:00:00 2001 From: Jane Roxanne Date: Wed, 11 Mar 2020 17:58:48 -0500 Subject: [PATCH] Now should boot in OpenOS --- src/zy-neo/zinit.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/zy-neo/zinit.lua b/src/zy-neo/zinit.lua index d8ba0d4..00c81fa 100644 --- a/src/zy-neo/zinit.lua +++ b/src/zy-neo/zinit.lua @@ -14,7 +14,10 @@ local computer = computer local booted = false local zcfg = {} function log(...) - component.proxy(component.list("ocemu")() or component.list("sandbox")()).log(...) + local c = component.list("ocemu")() or component.list("sandbox")()) + if c then + component.proxy(c).log(...) + end end local th_i = 0 local function th_a(func)