aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/luarocks/cfg.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/luarocks/cfg.lua b/src/luarocks/cfg.lua
index 6a49c842..2d3bb8bd 100644
--- a/src/luarocks/cfg.lua
+++ b/src/luarocks/cfg.lua
@@ -182,7 +182,9 @@ do
182 io.stderr:write(err.."\n") 182 io.stderr:write(err.."\n")
183 os.exit(cfg.errorcodes.CONFIGFILE) 183 os.exit(cfg.errorcodes.CONFIGFILE)
184 end 184 end
185 merge_overrides(sys_config_ok) 185 if sys_config_ok then
186 merge_overrides(sys_config_ok)
187 end
186end 188end
187 189
188if not site_config.LUAROCKS_FORCE_CONFIG then 190if not site_config.LUAROCKS_FORCE_CONFIG then