1
mirror of https://github.com/rapid7/metasploit-framework synced 2024-11-12 11:52:01 +01:00

Pass the password argument in db_create

git-svn-id: file:///home/svn/framework3/trunk@7823 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
HD Moore 2009-12-11 18:54:19 +00:00
parent f157d66625
commit e2a5cb0ebe

View File

@ -1431,7 +1431,7 @@ class Db
system("dropdb #{cargs} #{info[:name]} >/dev/null 2>&1")
system("createdb #{cargs} #{info[:name]}")
opts['pass'] ||= ''
opts['password'] = info[:pass] || ''
# Do a little legwork to find the real database socket
if(! opts['host'])