mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-31 10:06:39 +00:00
Merge pull request #7120 from Obihoernchen/patch-11
Fix nicutils.sh for non english locales
This commit is contained in:
commit
e26a905635
@ -1860,7 +1860,7 @@ function is_connection_activate_intime {
|
||||
fi
|
||||
i=0
|
||||
while [ $i -lt "$time_out" ]; do
|
||||
con_state=$($nmcli con show $con_name | grep -i state| awk '{print $2}');
|
||||
con_state=$(LC_ALL=C $nmcli con show $con_name | grep -i state| awk '{print $2}');
|
||||
if [ ! -z "$con_state" -a "$con_state" = "activated" ]; then
|
||||
break
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user