Dont set default workspace if theres no DB
parent
c5c02512d6
commit
988063d377
|
@ -378,7 +378,7 @@ class Driver < Msf::Ui::Driver
|
|||
print_warning("\t#{path}: #{error}")
|
||||
end
|
||||
end
|
||||
framework.db.workspace = framework.db.default_workspace
|
||||
framework.db.workspace = framework.db.default_workspace if framework.db && framework.db.active
|
||||
|
||||
framework.events.on_ui_start(Msf::Framework::Revision)
|
||||
|
||||
|
|
Loading…
Reference in New Issue