diff --git a/xCAT/postscripts/xcataixpost b/xCAT/postscripts/xcataixpost index d4bc9dc3f..5e6cfbbf7 100755 --- a/xCAT/postscripts/xcataixpost +++ b/xCAT/postscripts/xcataixpost @@ -302,10 +302,10 @@ run_ps () { logfile=\\"/var/log/xcat/xcat.log\\" if [[ -f \\\$1 ]]; then - echo \\"Running postscript: \\\$@\\" | tee -a \\\$logfile + echo \\"\\\`date\\\` Running postscript: \\\$@\\" | tee -a \\\$logfile ./\\\$@ 2>&1 | tee -a \\\$logfile else - echo \\"Postscript \\\$1 does NOT exist.\\" | tee -a \\\$logfile + echo \\"\\\`date\\\` Postscript \\\$1 does NOT exist.\\" | tee -a \\\$logfile fi } # subroutine end