提交 27b95812 编写于 作者: M Maksim Ryzhikov 提交者: Mislav Marohnić

skip reading `ssh_config` when no read privileges

上级 df0e8293
......@@ -8,7 +8,7 @@ module Hub
@settings = Hash.new {|h,k| h[k] = {} }
Array(files || CONFIG_FILES).each do |path|
file = File.expand_path path
parse_file file if File.exist? file
parse_file file if File.readable?(file)
end
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册