mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-23 04:24:16 -04:00
Fixed options not being passed along properly by shell.execute.
This commit is contained in:
parent
d0d4f502ba
commit
59d7c75428
@ -130,7 +130,7 @@ if #args == 0 and (io.input() == io.stdin or options.i) and not options.c then
|
|||||||
end
|
end
|
||||||
else
|
else
|
||||||
-- execute command.
|
-- execute command.
|
||||||
local result = table.pack(execute(table.unpack(args)))
|
local result = table.pack(execute(...))
|
||||||
if not result[1] then
|
if not result[1] then
|
||||||
error(result[2])
|
error(result[2])
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user