diff options
-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 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) |
148 | end | 148 | end |
149 | if err and ok == nil then | 149 | if err and sys_config_ok == nil then |
150 | io.stderr:write(err.."\n") | 150 | io.stderr:write(err.."\n") |
151 | end | 151 | end |
152 | 152 | ||