diff options
Diffstat (limited to 'bootscripts')
-rw-r--r-- | bootscripts/lfs/sysconfig/network-devices/ifdown | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bootscripts/lfs/sysconfig/network-devices/ifdown b/bootscripts/lfs/sysconfig/network-devices/ifdown index b836cb8ef..1fb69aa44 100644 --- a/bootscripts/lfs/sysconfig/network-devices/ifdown +++ b/bootscripts/lfs/sysconfig/network-devices/ifdown @@ -82,7 +82,7 @@ for file in ${FILES}; do done if [ -z "${2}" ]; then - link_status=`ip link show $1` + link_status=`ip link show $1 2>/dev/null` if [ -n "${link_status}" ]; then if echo "${link_status}" | grep -q UP; then boot_mesg "Bringing down the ${1} interface..." |