summaryrefslogtreecommitdiff
path: root/bitbake-dev/bin/bitbake
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2008-11-07 09:42:16 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2008-11-07 09:42:16 +0000
commite7e2009277b26913c9ac666fccef35bbd9e24f81 (patch)
tree1b19c77167af29627480f108d653b8f3ba10d251 /bitbake-dev/bin/bitbake
parent67aaacacf9cd57313c8a7015aaf647f7ccb0e54c (diff)
downloadopenembedded-core-e7e2009277b26913c9ac666fccef35bbd9e24f81.tar.gz
openembedded-core-e7e2009277b26913c9ac666fccef35bbd9e24f81.tar.bz2
openembedded-core-e7e2009277b26913c9ac666fccef35bbd9e24f81.zip
bitbake-dev: Fix exit code value handling
Diffstat (limited to 'bitbake-dev/bin/bitbake')
-rwxr-xr-xbitbake-dev/bin/bitbake2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake-dev/bin/bitbake b/bitbake-dev/bin/bitbake
index 920877e4d8..87c3a94083 100755
--- a/bitbake-dev/bin/bitbake
+++ b/bitbake-dev/bin/bitbake
@@ -160,7 +160,7 @@ Default BBFILES are the .bb files in the current directory.""" )
# suggest a fixed set this allows you to have flexibility in which
# ones are available.
exec "from bb.ui import " + ui
- exec ui + ".init(server, eventHandler)"
+ exec "return_value = " + ui + ".init(server, eventHandler)"
except ImportError:
print "FATAL: Invalid user interface '%s' specified. " % ui
print "Valid interfaces are 'ncurses', 'depexp' or the default, 'knotty'."