the fix for bug 3364300 - not display passwords in xcat commands or logs.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12321 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
sjing 2012-04-24 02:06:12 +00:00
parent be056ae2d0
commit cb66289972

View File

@ -298,6 +298,8 @@ sub runmysqlcmd
if ($? > 0) # error
{
$rc = $? >> 8;
# secure password
$cmd = "$mysql --user=$admin --password=xxxxxx --host=$hostname $dbname \< $file ";
xCAT::MsgUtils->message("SE",
"The command $cmd had errors. Return=$rc");
}