diff options
Diffstat (limited to 'scripts/oe-find-native-sysroot')
-rwxr-xr-x | scripts/oe-find-native-sysroot | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/oe-find-native-sysroot b/scripts/oe-find-native-sysroot index b99014b52..b2c22aaf4 100755 --- a/scripts/oe-find-native-sysroot +++ b/scripts/oe-find-native-sysroot @@ -31,7 +31,7 @@ # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. if [ -z "$OECORE_NATIVE_SYSROOT" ]; then - BITBAKE=`which bitbake` + BITBAKE=`which bitbake 2> /dev/null` if [ "x$BITBAKE" != "x" ]; then if [ "$UID" = "0" ]; then # Root cannot run bitbake unless sanity checking is disabled |