Skip to content

Commit 72e7691

Browse files
committed
Change print_status to print_error
And drop db_disconnect note to another line.
1 parent 4d12690 commit 72e7691

File tree

1 file changed

+2
-2
lines changed
  • lib/msf/ui/console/command_dispatcher

1 file changed

+2
-2
lines changed

lib/msf/ui/console/command_dispatcher/db.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1713,8 +1713,8 @@ def cmd_db_connect(*args)
17131713
cdb = conn.current_database
17141714
end
17151715
end
1716-
print_status("#{framework.db.driver} already connected to #{cdb}. " +
1717-
"Run db_disconnect first if you wish to connect to a different database.")
1716+
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")
17181718
return
17191719
end
17201720
if (args[0] == "-y")

0 commit comments

Comments
 (0)