From 9b6d335c5dc651c0fc1ecf7e0d3c98b24289f5bd Mon Sep 17 00:00:00 2001 From: Daniel Ratcliffe Date: Thu, 18 May 2017 09:10:48 +0100 Subject: [PATCH] small fix --- .../resources/assets/computercraft/lua/rom/programs/shell.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/assets/computercraft/lua/rom/programs/shell.lua b/src/main/resources/assets/computercraft/lua/rom/programs/shell.lua index a67dc0b9b..4c4c21de2 100644 --- a/src/main/resources/assets/computercraft/lua/rom/programs/shell.lua +++ b/src/main/resources/assets/computercraft/lua/rom/programs/shell.lua @@ -80,7 +80,7 @@ local function createShellEnv( sDir ) local loader, err = searcher(name) if loader then package.loaded[name] = sentinel - local result, err = loader( err ) + local result = loader( err ) if result ~= nil then package.loaded[name] = result return result