Remove unnecessary realpath

MSP-11153

Causes errors on machines that don't have ~/.msf4 like travis-ci.
bug/bundler_fix
Luke Imhoff 2014-08-27 16:58:05 -05:00
parent 2b2d9085d3
commit 83b6f268b4
No known key found for this signature in database
GPG Key ID: 5B1FB01FB33356F8
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ module Metasploit
# @return [Pathname] if the user has a `database.yml` in their config directory (`~/.msf4` by default).
# @return [nil] if the user does not have a `database.yml` in their config directory.
def self.user_configurations_pathname
Pathname.new(Msf::Config.get_config_root).realpath.join('database.yml')
Pathname.new(Msf::Config.get_config_root).join('database.yml')
end
end
end