bitbake/bin/bitbake: Return an error if exceptions occur

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie 2011-06-08 13:12:49 +01:00
parent 5ded108567
commit 6c286ed9c5
1 changed files with 2 additions and 0 deletions

View File

@ -217,6 +217,8 @@ Default BBFILES are the .bb files in the current directory.""")
finally:
server_connection.terminate()
return 1
if __name__ == "__main__":
try:
ret = main()