From bf18ab507cb424b342de7f2180bb86069795c9db Mon Sep 17 00:00:00 2001 From: daniceexi Date: Tue, 23 Apr 2013 08:21:35 +0000 Subject: [PATCH] defect 3516: fixed the typo to handle the getnextdestiny result git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16040 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-genesis-scripts/bin/nextdestiny | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-genesis-scripts/bin/nextdestiny b/xCAT-genesis-scripts/bin/nextdestiny index 193c811ef..29b6c255f 100755 --- a/xCAT-genesis-scripts/bin/nextdestiny +++ b/xCAT-genesis-scripts/bin/nextdestiny @@ -24,6 +24,6 @@ while [ ! -f /tmp/destiny.xml ] || grep error /tmp/destiny.xml; do fi done rm /tmp/destreq.xml -DESTINY=`grep destiny /tmp/destiny.xml | awk -F'>' '{print $2}'|awk -F'<' '{print $1}'` +DESTINY=`grep '' /tmp/destiny.xml | awk -F'>' '{print $2}'|awk -F'<' '{print $1}'` rm /tmp/destiny.xml echo $DESTINY