-Fix problem where xcatdsklspost can have 'too many arguments' on a certain line

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2977 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2009-03-25 03:25:59 +00:00
parent 2779f579e1
commit c22c889875

View File

@ -95,7 +95,7 @@ fi
if [ $# -eq 0 ]; then
#notify the server that we are done with netbooting
CNS=`grep NODESTATUS= /tmp/mypostscript |awk -F = '{print $2}'`
if [ -z "$CNS" ] || [ $CNS != "'0'" -a $CNS != "'N'" -a $CNS != "'n'" ]; then
if [ -z "$CNS" ] || [ "$CNS" != "'0'" -a "$CNS" != "'N'" -a "$CNS" != "'n'" ]; then
echo "updateflag.awk \$MASTER 3002 \"installstatus booted\"" >> /tmp/mypostscript
fi
fi