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-02 14:21:29 +0100 |
commit | c0df2ab7ebac5650e52089ada97e8657f8af3979 (patch) | |
tree | cf610788e3220e62ef80e3697298c5b66671a575 /scripts/runqemu-internal | |
parent | 705ec50edda7f7fb8c132238fe3f1477384a470e (diff) | |
download | poky-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-internal')
-rwxr-xr-x | scripts/runqemu-internal | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/runqemu-internal b/scripts/runqemu-internal index 883fa5b902..19f8d3de8e 100755 --- a/scripts/runqemu-internal +++ b/scripts/runqemu-internal | |||
@@ -133,7 +133,7 @@ if [ ! -d "$LOCKDIR" ]; then | |||
133 | chmod 777 $LOCKDIR | 133 | chmod 777 $LOCKDIR |
134 | fi | 134 | fi |
135 | 135 | ||
136 | IFCONFIG=`which ifconfig` | 136 | IFCONFIG=`which ifconfig 2> /dev/null` |
137 | if [ -z "$IFCONFIG" ]; then | 137 | if [ -z "$IFCONFIG" ]; then |
138 | IFCONFIG=/sbin/ifconfig | 138 | IFCONFIG=/sbin/ifconfig |
139 | fi | 139 | fi |