mirror of
https://github.com/rapid7/metasploit-framework
synced 2024-09-04 20:18:27 +02:00
Fix a crash when we can't connect to PG, again
This commit is contained in:
parent
fa27def41f
commit
c3e8bc8fa0
@ -60,11 +60,6 @@ class Metasploit::Framework::Command::Base
|
||||
# the configuration from the parsed options.
|
||||
parsed_options.configure(Rails.application)
|
||||
|
||||
# support disabling the database
|
||||
unless parsed_options.options.database.disable
|
||||
Metasploit::Framework::Require.optionally_active_record_railtie
|
||||
end
|
||||
|
||||
Rails.application.require_environment!
|
||||
|
||||
parsed_options
|
||||
|
Loading…
Reference in New Issue
Block a user