fix for bug 4369: fix the missing info in xcat.log on Ubuntu

This commit is contained in:
ligc 2013-11-11 09:17:10 +08:00
parent b865f08e2e
commit cad641241d

View File

@ -125,7 +125,7 @@ run_ps () {
echo "\"\`date\` Running postscript: \$@\"" | tee -a \$logfile
#./\$@ 2>&1 1> /tmp/tmp4xcatlog
#cat /tmp/tmp4xcatlog | tee -a \$logfile
./\$@ 2>&1 | tee -a $logfile
./\$@ 2>&1 | tee -a \$logfile
ret_local=\${PIPESTATUS[0]}
if [ \"\$ret_local\" -ne \"0\" ]; then
return_value=\$ret_local