From c22c889875d47aaedecadea2fa5a905a0a539235 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Wed, 25 Mar 2009 03:25:59 +0000 Subject: [PATCH] -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 --- xCAT/postscripts/xcatdsklspost | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT/postscripts/xcatdsklspost b/xCAT/postscripts/xcatdsklspost index 197660af0..639583040 100755 --- a/xCAT/postscripts/xcatdsklspost +++ b/xCAT/postscripts/xcatdsklspost @@ -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