From 1b47f597b78e115e3b97d70ae52d2184d28d3a98 Mon Sep 17 00:00:00 2001 From: lissav Date: Mon, 24 Jun 2013 12:57:49 +0000 Subject: [PATCH] fix defect 3642 git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16734 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT/postscripts/xcatdsklspost | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/xCAT/postscripts/xcatdsklspost b/xCAT/postscripts/xcatdsklspost index c6a08970d..62d795f02 100755 --- a/xCAT/postscripts/xcatdsklspost +++ b/xCAT/postscripts/xcatdsklspost @@ -667,14 +667,12 @@ run_ps () { if [ -f \$1 ]; then echo \"\`date\` Running postscript: \$@\" | tee -a \$logfile - #./\$@ 2>&1 1> /tmp/tmp4xcatlog - #cat /tmp/tmp4xcatlog | tee -a \$logfile ./\$@ 2>&1 | tee -a \$logfile ret_local=\${PIPESTATUS[0]} if [ \"\$ret_local\" -ne \"0\" ]; then return_value=\$ret_local fi - echo \"Postscript: \$@ exited with code \$ret_local\" + echo \"Postscript: \$@ exited with code \$ret_local\" | tee -a \$logfile else echo \"\`date\` Postscript \$1 does NOT exist.\" | tee -a \$logfile return_value=-1