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