made the shell not return pcall's true if it is true
This commit is contained in:
parent
7347c93988
commit
be8ba0a40b
@ -35,6 +35,9 @@ setmetatable(shenv,{__index=function(_,k)
|
||||
tE = {coroutine.yield()}
|
||||
if tE[1] == rqid then
|
||||
table.remove(tE,1)
|
||||
if tE[1] == true then
|
||||
table.remove(tE,1)
|
||||
end
|
||||
return table.unpack(tE)
|
||||
end
|
||||
until tTasks[pid] == nil
|
||||
|
Loading…
Reference in New Issue
Block a user