diff --git a/exec/luash.lua b/exec/luash.lua index dea87da..d804704 100644 --- a/exec/luash.lua +++ b/exec/luash.lua @@ -1,6 +1,7 @@ local tA = {...} local si = tA[1] spawn("lua shell",function() + os.setenv("sI",si) _ENV = shutil.genenv() coroutine.yield() log(pcall(login)) @@ -45,4 +46,4 @@ spawn("lua shell",function() print(table.unpack(r)) end end -end,{sI=si}) +end)