diff options
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/ui/knotty.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bitbake/lib/bb/ui/knotty.py b/bitbake/lib/bb/ui/knotty.py index 63b8dc6c5a..7a2681d2bf 100644 --- a/bitbake/lib/bb/ui/knotty.py +++ b/bitbake/lib/bb/ui/knotty.py | |||
@@ -188,7 +188,8 @@ def main(server, eventHandler): | |||
188 | logger.error("Command execution failed: %s", event.error) | 188 | logger.error("Command execution failed: %s", event.error) |
189 | break | 189 | break |
190 | if isinstance(event, bb.command.CommandExit): | 190 | if isinstance(event, bb.command.CommandExit): |
191 | return_value = event.exitcode | 191 | if not return_value: |
192 | return_value = event.exitcode | ||
192 | continue | 193 | continue |
193 | if isinstance(event, bb.cooker.CookerExit): | 194 | if isinstance(event, bb.cooker.CookerExit): |
194 | break | 195 | break |