diff options
Diffstat (limited to 'bitbake/lib/bb/command.py')
-rw-r--r-- | bitbake/lib/bb/command.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/command.py b/bitbake/lib/bb/command.py index 84fcdf9433..d797fcf930 100644 --- a/bitbake/lib/bb/command.py +++ b/bitbake/lib/bb/command.py | |||
@@ -86,7 +86,7 @@ class Command: | |||
86 | 86 | ||
87 | def runAsyncCommand(self): | 87 | def runAsyncCommand(self): |
88 | try: | 88 | try: |
89 | if self.cooker.state == bb.cooker.state.error: | 89 | if self.cooker.state in (bb.cooker.state.error, bb.cooker.state.shutdown, bb.cooker.state.forceshutdown): |
90 | return False | 90 | return False |
91 | if self.currentAsyncCommand is not None: | 91 | if self.currentAsyncCommand is not None: |
92 | (command, options) = self.currentAsyncCommand | 92 | (command, options) = self.currentAsyncCommand |