diff options
author | mboelen <michael@cisofy.com> | 2016-03-17 23:02:28 +0300 |
---|---|---|
committer | mboelen <michael@cisofy.com> | 2016-03-17 23:02:28 +0300 |
commit | c3d5dabb490a1f22eccc74ea3db52e4b77fd4c03 (patch) | |
tree | 9620287afd0c79f926a82615d100cbee1c10302f /include/tests_networking | |
parent | e949e560d7b8709efd8fb591cee1a081ea0d9e06 (diff) |
Move stderr redirection to sysctl command instead of grep, to prevent errors displaying on screen
Diffstat (limited to 'include/tests_networking')
-rw-r--r-- | include/tests_networking | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tests_networking b/include/tests_networking index ce98ae96..5c55a6e8 100644 --- a/include/tests_networking +++ b/include/tests_networking @@ -45,7 +45,7 @@ IPV6_ONLY=255 IPV6_MISCONFIGURED=0 IPV6_MISCONFIGURED_MTU=0 - FIND=`sysctl -a | grep "^net.ipv6" 2> /dev/null | sed "s/ = /=/"` + FIND=`sysctl -a 2> /dev/null | grep "^net.ipv6" | sed "s/ = /=/"` if [ ! "${FIND}" = "" ]; then IPV6_CONFIGURED=1 for I in ${FIND}; do |