2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-22 22:15:30 +00:00

delete password from log for runsqlcmd (#5075)

This commit is contained in:
Yuan Bai
2018-04-10 16:36:00 +08:00
committed by Bin Xu
parent 3857b0492a
commit 17793bc364

View File

@ -356,6 +356,7 @@ sub runpgsqlcmd
if ($? > 0) # error
{
$rc = $? >> 8;
$cmd = "PGPASSWORD=xxxxxx $psql -d $dbname -h $hostname -U $admin -f $file ";
xCAT::MsgUtils->message("SE",
"The command $cmd had errors. Return=$rc");
}