diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-09-01 20:49:44 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-09-01 20:49:44 +0100 |
commit | 06625096f897235ed85f0d9a1355497f92938454 (patch) | |
tree | a5993f3d74b6f1aadca579a69bb685b4e14b0213 /scripts/runqemu-gen-tapdevs | |
parent | bf9e9961ec4e7b2d10f25b550b902df62b3939b1 (diff) | |
download | openembedded-core-06625096f897235ed85f0d9a1355497f92938454.tar.gz openembedded-core-06625096f897235ed85f0d9a1355497f92938454.tar.bz2 openembedded-core-06625096f897235ed85f0d9a1355497f92938454.zip |
scripts: Don't show errors from which ifconfig failing
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/runqemu-gen-tapdevs')
-rwxr-xr-x | scripts/runqemu-gen-tapdevs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/runqemu-gen-tapdevs b/scripts/runqemu-gen-tapdevs index 995e1d5204..9f313879e6 100755 --- a/scripts/runqemu-gen-tapdevs +++ b/scripts/runqemu-gen-tapdevs @@ -57,7 +57,7 @@ if [ ! -x "$RUNQEMU_IFUP" ]; then exit 1 fi -IFCONFIG=`which ifconfig` +IFCONFIG=`which ifconfig 2> /dev/null` if [ -z "$IFCONFIG" ]; then # Is it ever anywhere else? IFCONFIG=/sbin/ifconfig |