Qualify ::File to prevent a stacktrace

bug/bundler_fix
HD Moore 2014-11-22 17:16:13 -06:00
parent 673e21cfaf
commit 8becf417a7
1 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,7 @@ class Client
# The SSL certificate is being passed down as a file path
if opts[:ssl_cert]
if ! File.exists? opts[:ssl_cert]
if ! ::File.exists? opts[:ssl_cert]
elog("SSL certificate at #{opts[:ssl_cert]} does not exist and will be ignored")
else
# Load the certificate the same way that SslTcpServer does it