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.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/bitbake-dev/lib/bb/ui/knotty.py b/bitbake-dev/lib/bb/ui/knotty.py
index a334c2977..031fa7157 100644
--- a/bitbake-dev/lib/bb/ui/knotty.py
+++ b/bitbake-dev/lib/bb/ui/knotty.py
@@ -120,6 +120,9 @@ def init(server, eventHandler):
if event[0] == 'bb.command.CookerCommandCompleted':
break
+ if event[0] == 'bb.command.CookerCommandSetExitCode':
+ return_value = event[1]['exitcode']
+ continue
if event[0] == 'bb.command.CookerCommandFailed':
return_value = 1
print "Command execution failed: %s" % event[1]['error']