diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/luarocks/cfg.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/luarocks/cfg.lua b/src/luarocks/cfg.lua index 5afb653d..f74c40ad 100644 --- a/src/luarocks/cfg.lua +++ b/src/luarocks/cfg.lua | |||
@@ -16,7 +16,7 @@ local persist = require("luarocks.persist") | |||
16 | local popen_ok, popen_result = pcall(io.popen, "") | 16 | local popen_ok, popen_result = pcall(io.popen, "") |
17 | if popen_ok then | 17 | if popen_ok then |
18 | if popen_result then | 18 | if popen_result then |
19 | result:close() | 19 | popen_result:close() |
20 | end | 20 | end |
21 | else | 21 | else |
22 | print("Your version of Lua does not support io.popen,") | 22 | print("Your version of Lua does not support io.popen,") |