From c0df2ab7ebac5650e52089ada97e8657f8af3979 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 1 Sep 2011 20:49:44 +0100 Subject: scripts: Don't show errors from which ifconfig failing (From OE-Core rev: 06625096f897235ed85f0d9a1355497f92938454) Signed-off-by: Richard Purdie --- scripts/runqemu-gen-tapdevs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/runqemu-gen-tapdevs') 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 -- cgit v1.2.3-54-g00ecf