diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-06-08 13:34:03 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-06-08 13:36:32 +0100 |
commit | 517366b449a20097309875c611f3dc5a97e0d6ea (patch) | |
tree | 7a6b5688d0f50df72883a5f28d94c4f123a965fa /lib/bb/ui/knotty.py | |
parent | 088344d9187af9a0556b69e0b37d8c2d63952b05 (diff) | |
download | bitbake-517366b449a20097309875c611f3dc5a97e0d6ea.tar.gz |
knotty: If any error messages are seen, set our exit code accordingly
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/ui/knotty.py')
-rw-r--r-- | lib/bb/ui/knotty.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/ui/knotty.py b/lib/bb/ui/knotty.py index 44d1c1dc9..f330c084d 100644 --- a/lib/bb/ui/knotty.py +++ b/lib/bb/ui/knotty.py @@ -111,7 +111,7 @@ def main(server, eventHandler): print("%s: %s (pid %s)" % (tasknum, activetasks[task]["title"], task)) if isinstance(event, logging.LogRecord): - if event.levelno >= format.CRITICAL: + if event.levelno >= format.ERROR: return_value = 1 # For "normal" logging conditions, don't show note logs from tasks # but do show them if the user has changed the default log level to |