We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d12690 commit 72e7691Copy full SHA for 72e7691
lib/msf/ui/console/command_dispatcher/db.rb
@@ -1713,8 +1713,8 @@ def cmd_db_connect(*args)
1713
cdb = conn.current_database
1714
end
1715
1716
- print_status("#{framework.db.driver} already connected to #{cdb}. " +
1717
- "Run db_disconnect first if you wish to connect to a different database.")
+ print_error("#{framework.db.driver} already connected to #{cdb}")
+ print_error("Run db_disconnect first if you wish to connect to a different database")
1718
return
1719
1720
if (args[0] == "-y")
0 commit comments