From 06625096f897235ed85f0d9a1355497f92938454 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 Signed-off-by: Richard Purdie --- scripts/runqemu-ifup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/runqemu-ifup') diff --git a/scripts/runqemu-ifup b/scripts/runqemu-ifup index f9b2f035cd..987a37a1a7 100755 --- a/scripts/runqemu-ifup +++ b/scripts/runqemu-ifup @@ -64,7 +64,7 @@ if [ $STATUS -ne 0 ]; then exit 1 fi -IFCONFIG=`which ifconfig` +IFCONFIG=`which ifconfig 2> /dev/null` if [ "x$IFCONFIG" = "x" ]; then # better than nothing... IFCONFIG=/sbin/ifconfig -- cgit 1.2.3-korg