summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/command.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/command.py')
-rw-r--r--bitbake/lib/bb/command.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/bitbake/lib/bb/command.py b/bitbake/lib/bb/command.py
index 3ca27a69e0..a2795ce0b7 100644
--- a/bitbake/lib/bb/command.py
+++ b/bitbake/lib/bb/command.py
@@ -86,6 +86,8 @@ 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:
90 return False
89 if self.currentAsyncCommand is not None: 91 if self.currentAsyncCommand is not None:
90 (command, options) = self.currentAsyncCommand 92 (command, options) = self.currentAsyncCommand
91 commandmethod = getattr(CommandsAsync, command) 93 commandmethod = getattr(CommandsAsync, command)