summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/bb/cooker.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py
index a900b07a80..8e6d91bc50 100644
--- a/bitbake/lib/bb/cooker.py
+++ b/bitbake/lib/bb/cooker.py
@@ -1286,7 +1286,7 @@ class BBCooker:
1286 if self.state == state.running: 1286 if self.state == state.running:
1287 return 1287 return
1288 1288
1289 if self.state in (state.shutdown, state.forceshutdown): 1289 if self.state in (state.shutdown, state.forceshutdown, state.error):
1290 if hasattr(self.parser, 'shutdown'): 1290 if hasattr(self.parser, 'shutdown'):
1291 self.parser.shutdown(clean=False, force = True) 1291 self.parser.shutdown(clean=False, force = True)
1292 raise bb.BBHandledException() 1292 raise bb.BBHandledException()