2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-02 03:27:07 +00:00

Merge pull request #661 from bybai/confignetworknew

Will merge this one. Only two quotes were added.
This commit is contained in:
neo954 2016-01-25 15:43:22 +08:00
commit cc4da2e035

View File

@ -231,7 +231,7 @@ function sort_nics_device_order {
while [ $num1 -lt $max1 ];
do
alonenic=`echo "$alone_nics"|sed -n "${num1}p"`
echo "$nics_list"| grep $alonenic >/dev/null
echo "$nics_list"| grep "$alonenic" >/dev/null
if [ $? -ne 0 ]; then
echo $alonenic
fi