diff options
-rw-r--r-- | bitbake/lib/bb/command.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/command.py b/bitbake/lib/bb/command.py index 0706b89271..e6fd4fbd9e 100644 --- a/bitbake/lib/bb/command.py +++ b/bitbake/lib/bb/command.py | |||
@@ -117,7 +117,7 @@ class Command: | |||
117 | # updateCache will trigger a shutdown of the parser | 117 | # updateCache will trigger a shutdown of the parser |
118 | # and then raise BBHandledException triggering an exit | 118 | # and then raise BBHandledException triggering an exit |
119 | self.cooker.updateCache() | 119 | self.cooker.updateCache() |
120 | return False | 120 | return bb.server.process.idleFinish("Cooker in error state") |
121 | if self.currentAsyncCommand is not None: | 121 | if self.currentAsyncCommand is not None: |
122 | (command, options) = self.currentAsyncCommand | 122 | (command, options) = self.currentAsyncCommand |
123 | commandmethod = getattr(CommandsAsync, command) | 123 | commandmethod = getattr(CommandsAsync, command) |
@@ -129,7 +129,7 @@ class Command: | |||
129 | commandmethod(self.cmds_async, self, options) | 129 | commandmethod(self.cmds_async, self, options) |
130 | return False | 130 | return False |
131 | else: | 131 | else: |
132 | return False | 132 | return bb.server.process.idleFinish("Nothing to do, no async command?") |
133 | except KeyboardInterrupt as exc: | 133 | except KeyboardInterrupt as exc: |
134 | return bb.server.process.idleFinish("Interrupted") | 134 | return bb.server.process.idleFinish("Interrupted") |
135 | except SystemExit as exc: | 135 | except SystemExit as exc: |