mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-14 09:46:53 -04:00
Fix of recent addition to sh.lua.
This commit is contained in:
parent
539bc81c84
commit
327fee7ca8
@ -258,7 +258,7 @@ elseif #args == 0 and (io.input() ~= io.stdin) then
|
|||||||
io.write(expand(os.getenv("PS1") or "$ "))
|
io.write(expand(os.getenv("PS1") or "$ "))
|
||||||
local command = io.read("*l")
|
local command = io.read("*l")
|
||||||
if not command then
|
if not command then
|
||||||
io:write("exit\n")
|
io.write("exit\n")
|
||||||
end
|
end
|
||||||
command = text.trim(command)
|
command = text.trim(command)
|
||||||
if command == "exit" then
|
if command == "exit" then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user