summaryrefslogtreecommitdiff
path: root/bitbake-dev/lib/bb/ui
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake-dev/lib/bb/ui')
-rw-r--r--bitbake-dev/lib/bb/ui/knotty.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/bitbake-dev/lib/bb/ui/knotty.py b/bitbake-dev/lib/bb/ui/knotty.py
index 4b4d6b03af..7793a53099 100644
--- a/bitbake-dev/lib/bb/ui/knotty.py
+++ b/bitbake-dev/lib/bb/ui/knotty.py
@@ -71,6 +71,10 @@ def init(server, eventHandler):
if event[0].startswith('bb.msg.MsgError'):
return_value = 1
print 'ERROR: ' + event[1]['_message']
+ break
+ if event[0].startswith('bb.msg.MsgFatal'):
+ return_value = 1
+ print 'FATAL: ' + event[1]['_message']
continue
if event[0].startswith('bb.build.TaskFailed'):
return_value = 1