Fix arity difference between rails and msfconsole options

MSP-10905
bug/bundler_fix
Luke Imhoff 2014-07-29 14:32:42 -05:00
parent 04541ac724
commit 38da44c26b
No known key found for this signature in database
GPG Key ID: 5B1FB01FB33356F8
1 changed files with 2 additions and 2 deletions

View File

@ -76,9 +76,9 @@ class Metasploit::Framework::ParsedOptions::Base
user_database_yaml = user_config_root.join('database.yml') user_database_yaml = user_config_root.join('database.yml')
if user_database_yaml.exist? if user_database_yaml.exist?
options.database.config = [user_database_yaml.to_path] options.database.config = user_database_yaml.to_path
else else
options.database.config = ['config/database.yml'] options.database.config = 'config/database.yml'
end end
options.database.disable = false options.database.disable = false