Fix of recent addition to sh.lua.

This commit is contained in:
Florian Nücke 2015-02-14 22:34:17 +01:00
parent 539bc81c84
commit 327fee7ca8

View File

@ -258,7 +258,7 @@ elseif #args == 0 and (io.input() ~= io.stdin) then
io.write(expand(os.getenv("PS1") or "$ "))
local command = io.read("*l")
if not command then
io:write("exit\n")
io.write("exit\n")
end
command = text.trim(command)
if command == "exit" then