aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2009-12-15 10:59:44 -0500
committerBill Nottingham <notting@redhat.com>2009-12-15 10:59:44 -0500
commit86bc305c775a8815a6e919e1ac306123e4ce29e6 (patch)
treedddc706c0cedb03353fcfb221e0adc5efb62b47e /sysconfig/network-scripts
parentcba4e4abf71e4290ba4d41532c6b9dd6c906e241 (diff)
downloadinitscripts-86bc305c775a8815a6e919e1ac306123e4ce29e6.tar
initscripts-86bc305c775a8815a6e919e1ac306123e4ce29e6.tar.gz
initscripts-86bc305c775a8815a6e919e1ac306123e4ce29e6.tar.bz2
initscripts-86bc305c775a8815a6e919e1ac306123e4ce29e6.tar.xz
initscripts-86bc305c775a8815a6e919e1ac306123e4ce29e6.zip
Silence error. (#516569)
Diffstat (limited to 'sysconfig/network-scripts')
-rw-r--r--sysconfig/network-scripts/network-functions2
1 files changed, 1 insertions, 1 deletions
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
}