summaryrefslogtreecommitdiffstats
path: root/bitbake-dev/lib/bb/ui/knotty.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake-dev/lib/bb/ui/knotty.py')
-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 a334c2977e..031fa71578 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):
120 120
121 if event[0] == 'bb.command.CookerCommandCompleted': 121 if event[0] == 'bb.command.CookerCommandCompleted':
122 break 122 break
123 if event[0] == 'bb.command.CookerCommandSetExitCode':
124 return_value = event[1]['exitcode']
125 continue
123 if event[0] == 'bb.command.CookerCommandFailed': 126 if event[0] == 'bb.command.CookerCommandFailed':
124 return_value = 1 127 return_value = 1
125 print "Command execution failed: %s" % event[1]['error'] 128 print "Command execution failed: %s" % event[1]['error']