2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-08-21 18:50:28 +00:00

polish fix 630

This commit is contained in:
bybai
2016-02-23 02:37:15 -05:00
parent 263f0f6851
commit dea6d6d0b8

View File

@@ -254,12 +254,9 @@ function sort_nics_device_order {
temp_base_nic_type=`find_nic_type "$i"`
if [ x"$temp_base_nic_type_one" = x ]; then
temp_base_nic_type_one=$temp_base_nic_type
else
#all base nic devices types should be the same
if [ x"$temp_base_nic_type" != x"$temp_base_nic_type_one" ]; then
break
fi
temp_base_nic_type_one=$temp_base_nic_type
elif [ x"$temp_base_nic_type" != x"$temp_base_nic_type_one" ]; then
log_error "different nic device types in $base_nic_dev."
break 2
fi
done
else