From 9a98730594e9c3dd07d576066edce712774c2cfe Mon Sep 17 00:00:00 2001 From: wanghuaz Date: Tue, 1 Jun 2010 09:13:07 +0000 Subject: [PATCH] Fix one typo git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6282 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/sbin/lpar_netboot.expect | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/xCAT-server/sbin/lpar_netboot.expect b/xCAT-server/sbin/lpar_netboot.expect index 1648fa610..0394100cd 100644 --- a/xCAT-server/sbin/lpar_netboot.expect +++ b/xCAT-server/sbin/lpar_netboot.expect @@ -2463,7 +2463,7 @@ if { $noboot } { # Display information for all supported adapters if { $discover_all } { for {set i 1} {$i <= $adapter_found} {incr i 1} { if {[regexp $match_pat $adap_type($i)] != 0 } { - if ( $adap_type($i) != "hfi-ent" ) { + if { $adap_type($i) != "hfi-ent" } { set mac_address [get_mac_addr $phandle_array($i)] set loc_code [get_adaptr_loc $phandle_array($i)] } @@ -2479,7 +2479,7 @@ if { $noboot } { # Display information for all supported adapters } } - if ( $adap_type($i) == "hfi-ent" ) { + if { $adap_type($i) == "hfi-ent" } { set mac_address [get_mac_addr $phandle_array($i)] set loc_code [get_adaptr_loc $phandle_array($i)] } @@ -2501,7 +2501,7 @@ if { $noboot } { # Display information for all supported adapters } else { for {set i 1} {$i <= $adapter_found} {incr i 1} { if {[regexp $match_pat $adap_type($i)] != 0 } { - if ( $adap_type($i) == "hfi-ent" ) { + if { $adap_type($i) == "hfi-ent" } { set mac_address [get_mac_addr $phandle_array($i)] set loc_code [get_adaptr_loc $phandle_array($i)] } @@ -2515,7 +2515,7 @@ if { $noboot } { # Display information for all supported adapters set ping_result "successful" } } - if ( $adap_type($i) == "hfi-ent" ) { + if { $adap_type($i) == "hfi-ent" } { set mac_address [get_mac_addr $phandle_array($i)] set loc_code [get_adaptr_loc $phandle_array($i)] }