check if ca_file is commented out completly
This commit is contained in:
parent
934175c49c
commit
67b2af0da6
1 changed files with 1 additions and 1 deletions
|
|
@ -80,7 +80,7 @@ HELP
|
|||
end
|
||||
|
||||
def self.no_cert_file_in_prod?
|
||||
(Rails.env == "production") && self[:ca_file] && !File.exists?(self[:ca_file])
|
||||
(Rails.env == "production") && self[:ca_file].blank? || !File.exists?(self[:ca_file])
|
||||
end
|
||||
|
||||
def self.have_old_config_file?
|
||||
|
|
|
|||
Loading…
Reference in a new issue