mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-22 11:52:38 -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
|
||||
else
|
||||
-- execute command.
|
||||
local result = table.pack(execute(table.unpack(args)))
|
||||
local result = table.pack(execute(...))
|
||||
if not result[1] then
|
||||
error(result[2])
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user