Whamcloud - gitweb
b=9853
authoryujian <yujian>
Thu, 1 Jun 2006 09:45:09 +0000 (09:45 +0000)
committeryujian <yujian>
Thu, 1 Jun 2006 09:45:09 +0000 (09:45 +0000)
Fixed a syntax error.

lustre/utils/cluster_scripts/verify_serviceIP.sh

index 9afef32..9d49d73 100755 (executable)
@@ -106,7 +106,6 @@ findInterface() {
        declare target=$1
        declare hostname=$2
 
-       {
        while read intf line
        do
                while read line
@@ -131,8 +130,7 @@ findInterface() {
                                shift
                        done
                done
-       done
-       } < <(${REMOTE} $hostname /sbin/ifconfig)
+       done < <(${REMOTE} $hostname /sbin/ifconfig)
 
        echo >&2 "`basename $0`: Cannot find the interface in which" \
                  "$target is configured in the host $hostname!"