fix a typo that output of postscript could not be written to /var/log/xcat/xcat.log
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14670 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -563,7 +563,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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user