1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-08 05:09:24 +00:00

bitbake-dev: Fix exit code value handling

This commit is contained in:
Richard Purdie
2008-11-07 09:42:16 +00:00
parent 67aaacacf9
commit e7e2009277
+1 -1
View File
@@ -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'."