# File lib/rhc-common.rb, line 911 def check_cpath(opts) if !opts["config"].nil? @opts_config_path = opts["config"] if !File.readable?(File.expand_path(@opts_config_path)) puts "Could not open config file: #{@opts_config_path}" exit 253 else begin @opts_config = ParseConfig.new(File.expand_path(@opts_config_path)) rescue Errno::EACCES => e puts "Could not open config file (#{@opts_config_path}): #{e.message}" exit 253 end end end end