code calls download_mypostscript routine with wrong input order

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15046 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav 2013-02-04 20:18:59 +00:00
parent 0d8d4241fb
commit 852b07a725

View File

@ -375,8 +375,8 @@ if [ ! -x /xcatpost/mypostscript ]; then
/xcatpost/getpostscript.awk version2 > /dev/null
max_retries=1
postfix=1
download_mypostscript $SIP $node $max_retries $postfix $TFTPDIR
download_mypostscript $SIP $node $postfix $max_retries $TFTPDIR
MYCONT=`grep MASTER /xcatpost/mypostscript`
#echo "MYCONT=$MYCONT"
#if getpostscript.awk fails, the postscript will fall into infinit loop
@ -401,7 +401,7 @@ while [ -z "$MYCONT" ]; do
/xcatpost/getpostscript.awk version2 > /dev/null
max_retries=1
postfix=1
download_mypostscript $SIP $node $max_retries $postfix $TFTPDIR
download_mypostscript $SIP $node $postfix $max_retries $TFTPDIR
MYCONT=`grep MASTER /xcatpost/mypostscript`
if [ ! -z "$MYCONT" ]; then