diff options
-rw-r--r-- | src/luarocks/cfg.lua | 4 |
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 | ||
186 | end | 188 | end |
187 | 189 | ||
188 | if not site_config.LUAROCKS_FORCE_CONFIG then | 190 | if not site_config.LUAROCKS_FORCE_CONFIG then |