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:
@ -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");
|
||||
}
|
||||
|
Reference in New Issue
Block a user