From 6e67b0642a39588d3f8b221882c1f785cefe7c63 Mon Sep 17 00:00:00 2001 From: daniceexi Date: Tue, 18 Dec 2012 02:58:44 +0000 Subject: [PATCH] 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@14671 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/share/xcat/install/scripts/post.xcat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/share/xcat/install/scripts/post.xcat b/xCAT-server/share/xcat/install/scripts/post.xcat index fbcee31f5..6909e22f5 100644 --- a/xCAT-server/share/xcat/install/scripts/post.xcat +++ b/xCAT-server/share/xcat/install/scripts/post.xcat @@ -121,7 +121,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