diff --git a/xCAT/postscripts/xcatdsklspost b/xCAT/postscripts/xcatdsklspost index d8e1623b7..1f6d521e3 100755 --- a/xCAT/postscripts/xcatdsklspost +++ b/xCAT/postscripts/xcatdsklspost @@ -291,9 +291,9 @@ TMP=`sed "/postscripts-start-here/,/postscripts-end-here/ s/\(.*\)/run_ps \1/;s/ echo " # subroutine used to run postscripts run_ps () { - logdir=\"var/log/xcat\" + logdir=\"/var/log/xcat\" mkdir -p \$logdir - logfile=\"var/log/xcat/xcat.log\" + logfile=\"/var/log/xcat/xcat.log\" if [[ -f \$1 ]]; then echo \"Running postscript: \$1\" | tee -a \$logfile