summaryrefslogtreecommitdiffstats
path: root/scripts/runqemu-gen-tapdevs
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-09-01 20:49:44 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-09-02 14:21:29 +0100
commitc0df2ab7ebac5650e52089ada97e8657f8af3979 (patch)
treecf610788e3220e62ef80e3697298c5b66671a575 /scripts/runqemu-gen-tapdevs
parent705ec50edda7f7fb8c132238fe3f1477384a470e (diff)
downloadpoky-c0df2ab7ebac5650e52089ada97e8657f8af3979.tar.gz
scripts: Don't show errors from which ifconfig failing
(From OE-Core rev: 06625096f897235ed85f0d9a1355497f92938454) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/runqemu-gen-tapdevs')
-rwxr-xr-xscripts/runqemu-gen-tapdevs2
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
57 exit 1 57 exit 1
58fi 58fi
59 59
60IFCONFIG=`which ifconfig` 60IFCONFIG=`which ifconfig 2> /dev/null`
61if [ -z "$IFCONFIG" ]; then 61if [ -z "$IFCONFIG" ]; then
62 # Is it ever anywhere else? 62 # Is it ever anywhere else?
63 IFCONFIG=/sbin/ifconfig 63 IFCONFIG=/sbin/ifconfig