aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/luarocks/cfg.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/luarocks/cfg.lua b/src/luarocks/cfg.lua
index 89c53f24..484bfb79 100644
--- a/src/luarocks/cfg.lua
+++ b/src/luarocks/cfg.lua
@@ -146,7 +146,7 @@ if not sys_config_ok then
146 sys_config_file = sys_config_dir.."/config.lua" 146 sys_config_file = sys_config_dir.."/config.lua"
147 sys_config_ok, err = persist.load_into_table(sys_config_file, _M) 147 sys_config_ok, err = persist.load_into_table(sys_config_file, _M)
148end 148end
149if err and ok == nil then 149if err and sys_config_ok == nil then
150 io.stderr:write(err.."\n") 150 io.stderr:write(err.."\n")
151end 151end
152 152