File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
lib/msf/ui/console/command_dispatcher Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1687,7 +1687,7 @@ def cmd_db_status(*args)
16871687 return if not db_check_driver
16881688
16891689 if framework . db . connection_established?
1690- cdb = ""
1690+ cdb = ''
16911691 ::ActiveRecord ::Base . connection_pool . with_connection do |conn |
16921692 if conn . respond_to? ( :current_database )
16931693 cdb = conn . current_database
@@ -1707,14 +1707,14 @@ def cmd_db_connect_help
17071707 def cmd_db_connect ( *args )
17081708 return if not db_check_driver
17091709 if args [ 0 ] != '-h' && framework . db . connection_established?
1710- cdb = ""
1710+ cdb = ''
17111711 ::ActiveRecord ::Base . connection_pool . with_connection do |conn |
17121712 if conn . respond_to? ( :current_database )
17131713 cdb = conn . current_database
17141714 end
17151715 end
17161716 print_error ( "#{ framework . db . driver } already connected to #{ cdb } " )
1717- print_error ( " Run db_disconnect first if you wish to connect to a different database" )
1717+ print_error ( ' Run db_disconnect first if you wish to connect to a different database' )
17181718 return
17191719 end
17201720 if ( args [ 0 ] == "-y" )
You can’t perform that action at this time.
0 commit comments