From fbb5188133de4de9cbe31fd9bdc1699eb5338a06 Mon Sep 17 00:00:00 2001 From: daniceexi Date: Tue, 23 Apr 2013 08:33:20 +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.7@16041 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-nbroot2/nextdestiny | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-nbroot2/nextdestiny b/xCAT-nbroot2/nextdestiny index 193c811ef..29b6c255f 100755 --- a/xCAT-nbroot2/nextdestiny +++ b/xCAT-nbroot2/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