Change print_status to print_error

And drop db_disconnect note to another line.
bug/bundler_fix
William Vu 2015-03-10 13:31:25 -05:00
parent 4d12690ca6
commit 72e7691300
1 changed files with 2 additions and 2 deletions

View File

@ -1713,8 +1713,8 @@ class Db
cdb = conn.current_database
end
end
print_status("#{framework.db.driver} already connected to #{cdb}. " +
"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")
return
end
if (args[0] == "-y")