minor fix

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1762 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
linggao 2008-06-25 18:21:48 +00:00
parent 0cd7c5a6a0
commit 4b07dcd34f

View File

@ -62,7 +62,7 @@ if [ $ADD -eq 1 ]; then
#get IP address of MS
ms_ip=$MONSERVER
result=`ping -c1 $$MONSERVER 2>&1`
result=`ping -c1 $MONSERVER 2>&1`
if [ $? -eq 0 ]; then
index1=`expr index "$result" "\("`
index2=`expr index "$result" "\)"`