From 86bc305c775a8815a6e919e1ac306123e4ce29e6 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Tue, 15 Dec 2009 10:59:44 -0500 Subject: Silence error. (#516569) --- sysconfig/network-scripts/network-functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sysconfig/network-scripts/network-functions b/sysconfig/network-scripts/network-functions index 5212d2e0..23a1a574 100644 --- a/sysconfig/network-scripts/network-functions +++ b/sysconfig/network-scripts/network-functions @@ -343,7 +343,7 @@ install_bonding_driver () { ethtool -i $1 2>/dev/null | grep -q "driver: bonding" && return 0 [ ! -f /sys/class/net/bonding_masters ] && ( modprobe bonding || return 1 ) - echo "+$1" > /sys/class/net/bonding_masters + echo "+$1" > /sys/class/net/bonding_masters 2>/dev/null return 0 } -- cgit v1.2.1