summaryrefslogtreecommitdiffstats
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
parent67aaacacf9cd57313c8a7015aaf647f7ccb0e54c (diff)
downloadpoky-e7e2009277b26913c9ac666fccef35bbd9e24f81.tar.gz
bitbake-dev: Fix exit code value handling
-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.""" )
160 # suggest a fixed set this allows you to have flexibility in which 160 # suggest a fixed set this allows you to have flexibility in which
161 # ones are available. 161 # ones are available.
162 exec "from bb.ui import " + ui 162 exec "from bb.ui import " + ui
163 exec ui + ".init(server, eventHandler)" 163 exec "return_value = " + ui + ".init(server, eventHandler)"
164 except ImportError: 164 except ImportError:
165 print "FATAL: Invalid user interface '%s' specified. " % ui 165 print "FATAL: Invalid user interface '%s' specified. " % ui
166 print "Valid interfaces are 'ncurses', 'depexp' or the default, 'knotty'." 166 print "Valid interfaces are 'ncurses', 'depexp' or the default, 'knotty'."