diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-06-08 13:12:49 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-06-08 13:12:49 +0100 |
| commit | 6c286ed9c50bf2e23a597bf46d7ae644236b6adc (patch) | |
| tree | 8e070bd3ca28a06c0ab8521c2932d53a3ad2666c | |
| parent | 5ded1085670a918ec256152fd5be9d01efb5d8a0 (diff) | |
| download | poky-6c286ed9c50bf2e23a597bf46d7ae644236b6adc.tar.gz | |
bitbake/bin/bitbake: Return an error if exceptions occur
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rwxr-xr-x | bitbake/bin/bitbake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bitbake/bin/bitbake b/bitbake/bin/bitbake index acd2f790dc..520e54912a 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 | |||
| 220 | if __name__ == "__main__": | 222 | if __name__ == "__main__": |
| 221 | try: | 223 | try: |
| 222 | ret = main() | 224 | ret = main() |
