bitbake/knotty: ensure we return non-zero exit code on Ctrl+C
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Mon, 13 Feb 2012 11:41:32 +0000 (11:41 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 22 Feb 2012 20:25:30 +0000 (20:25 +0000)
commit459779bb691f47e10dbe76dcd49e469980fc24f2
treeb9931c30139db3f6a4bcdd4f07a5f4c3f6b12606
parent850d6abca732fadc598b65bcda1060eb5bf87467
bitbake/knotty: ensure we return non-zero exit code on Ctrl+C

If the user uses Ctrl+C to exit out of the build, then ensure we return
a non-zero exit code since the entire build was not completed
successfully.

If nothing else, this is useful to avoid continuing in the bitbake
wrapper script in OE-Core if the initial pseudo build is interrupted.

(Bitbake rev: c11eab7fa230f1fd5cc33589f3555b94e95f202d)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/ui/knotty.py