summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-06-08 12:12:49 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-06-08 12:12:49 (GMT)
commit6c286ed9c50bf2e23a597bf46d7ae644236b6adc (patch)
tree8e070bd3ca28a06c0ab8521c2932d53a3ad2666c /bitbake
parent5ded1085670a918ec256152fd5be9d01efb5d8a0 (diff)
downloadpoky-6c286ed9c50bf2e23a597bf46d7ae644236b6adc.tar.gz
bitbake/bin/bitbake: Return an error if exceptions occur
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rwxr-xr-xbitbake/bin/bitbake2
1 files changed, 2 insertions, 0 deletions
diff --git a/bitbake/bin/bitbake b/bitbake/bin/bitbake
index acd2f79..520e549 100755
--- a/bitbake/bin/bitbake
+++ b/bitbake/bin/bitbake
@@ -217,6 +217,8 @@ Default BBFILES are the .bb files in the current directory.""")
217 finally: 217 finally:
218 server_connection.terminate() 218 server_connection.terminate()
219 219
220 return 1
221
220if __name__ == "__main__": 222if __name__ == "__main__":
221 try: 223 try:
222 ret = main() 224 ret = main()