diff --git a/xCAT-server/sbin/runsqlcmd b/xCAT-server/sbin/runsqlcmd index 4247a4e4d..7b9137f24 100755 --- a/xCAT-server/sbin/runsqlcmd +++ b/xCAT-server/sbin/runsqlcmd @@ -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"); }