1
0
mirror of https://github.com/kepler155c/opus synced 2025-10-22 11:17:40 +00:00

better startup

This commit is contained in:
kepler155c@gmail.com
2017-09-26 05:34:31 -04:00
parent 2d93974e6a
commit f2e1a39584
3 changed files with 28 additions and 29 deletions

View File

@@ -236,7 +236,7 @@ if #tArgs > 0 then
-- "shell x y z"
-- Run the program specified in this new shell
local s, m = shell.run( ... )
if not s and m ~= 'Terminated' then
if not s and m and m ~= 'Terminated' then
error(m or '')
end
return s, m