mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 12:49:46 +00:00
scripts: Don't show errors from which ifconfig failing
(From OE-Core rev: 06625096f897235ed85f0d9a1355497f92938454) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user