]> git.pld-linux.org Git - projects/rc-scripts.git/blobdiff - sysconfig/network-scripts/ifup-vlan
- force LC_ALL=C when grepping data from possibly localized program outputs
[projects/rc-scripts.git] / sysconfig / network-scripts / ifup-vlan
index bd407195098d7a51e26375a6c2af730019eca023..11eb7be95e08ce734bb132a8b8a4cbd8a8b5f1d9 100755 (executable)
@@ -61,7 +61,7 @@ fi
 # set all major variables
 setup_ip_param
 
-if (ip link add type vlan help 2>&1 | grep -q "VLANID :="); then
+if (LC_ALL=C ip link add type vlan help 2>&1 | grep -q "VLANID :="); then
        /sbin/ip link set ${VLAN_DEV} up
        /sbin/ip link add link ${VLAN_DEV} name ${DEVICE} type vlan id ${VLAN_ID}
        # default yes
This page took 0.026574 seconds and 4 git commands to generate.