Remove unnecessary realpath
MSP-11153 Causes errors on machines that don't have ~/.msf4 like travis-ci.bug/bundler_fix
parent
2b2d9085d3
commit
83b6f268b4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue