diff options
author | Bill Nottingham <notting@redhat.com> | 2000-12-12 05:26:37 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2000-12-12 05:26:37 +0000 |
commit | 627c85848617976158d87542b8ed87100f171979 (patch) | |
tree | 1110933e9e3fa1c5ffb6882d9ae61e9888d23c94 /sysconfig | |
parent | 52f4dc3995dde5414f1f148197cde5aa5909253b (diff) | |
download | initscripts-627c85848617976158d87542b8ed87100f171979.tar initscripts-627c85848617976158d87542b8ed87100f171979.tar.gz initscripts-627c85848617976158d87542b8ed87100f171979.tar.bz2 initscripts-627c85848617976158d87542b8ed87100f171979.tar.xz initscripts-627c85848617976158d87542b8ed87100f171979.zip |
oops, put the LANG=C in the right place
Diffstat (limited to 'sysconfig')
-rw-r--r-- | sysconfig/network-scripts/network-functions | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/network-functions b/sysconfig/network-scripts/network-functions index 8b726a83..dd566ad6 100644 --- a/sysconfig/network-scripts/network-functions +++ b/sysconfig/network-scripts/network-functions @@ -50,7 +50,7 @@ set_hostname() check_device_down () { - if ifconfig ${DEVICE} 2>/dev/null | LANG=C grep " UP " >/dev/null 2>&1 ; then + if LANG=C ifconfig ${DEVICE} 2>/dev/null | grep " UP " >/dev/null 2>&1 ; then retcode=1 else retcode=0 |