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:
commit
cc4da2e035
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user