diff options
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/ui/toasterui.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bitbake/lib/bb/ui/toasterui.py b/bitbake/lib/bb/ui/toasterui.py index 2d443776ba..728803d624 100644 --- a/bitbake/lib/bb/ui/toasterui.py +++ b/bitbake/lib/bb/ui/toasterui.py | |||
@@ -388,7 +388,10 @@ def main(server, eventHandler, params): | |||
388 | if isinstance(event, (bb.command.CommandCompleted, | 388 | if isinstance(event, (bb.command.CommandCompleted, |
389 | bb.command.CommandFailed, | 389 | bb.command.CommandFailed, |
390 | bb.command.CommandExit)): | 390 | bb.command.CommandExit)): |
391 | errorcode = 0 | 391 | if params.observe_only: |
392 | errorcode = 0 | ||
393 | else: | ||
394 | main.shutdown = 1 | ||
392 | 395 | ||
393 | continue | 396 | continue |
394 | 397 | ||