cleanup my mess
This commit is contained in:
parent
eb95f9715e
commit
f311063a42
@ -38,7 +38,6 @@ local function spawnShell(fin,fout)
|
|||||||
io.output(fout):setvbuf("no")
|
io.output(fout):setvbuf("no")
|
||||||
print(_OSVERSION.." - "..tostring(math.floor(computer.totalMemory()/1024)).."K RAM")
|
print(_OSVERSION.." - "..tostring(math.floor(computer.totalMemory()/1024)).."K RAM")
|
||||||
print((os.getenv("HOSTNAME") or "unknown") .. " on " .. fin)
|
print((os.getenv("HOSTNAME") or "unknown") .. " on " .. fin)
|
||||||
-- return os.spawn(function() local w,r = pcall(shell.interactive) if not w then syslog(r) end end, "shell: "..tostring(fin))
|
|
||||||
return os.spawn(shell.interactive, "shell: "..tostring(fin))
|
return os.spawn(shell.interactive, "shell: "..tostring(fin))
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user