diff options
author | Bill Nottingham <notting@redhat.com> | 2009-12-15 10:59:44 -0500 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2009-12-15 10:59:44 -0500 |
commit | 86bc305c775a8815a6e919e1ac306123e4ce29e6 (patch) | |
tree | dddc706c0cedb03353fcfb221e0adc5efb62b47e /sysconfig/network-scripts/network-functions | |
parent | cba4e4abf71e4290ba4d41532c6b9dd6c906e241 (diff) | |
download | initscripts-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/network-functions')
-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 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 } |