diff options
Diffstat (limited to 'bitbake/lib/bb/cooker.py')
-rw-r--r-- | bitbake/lib/bb/cooker.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py index 0d9b85e604..23e7abda39 100644 --- a/bitbake/lib/bb/cooker.py +++ b/bitbake/lib/bb/cooker.py | |||
@@ -1355,7 +1355,7 @@ class BBCooker: | |||
1355 | if self.state == state.running: | 1355 | if self.state == state.running: |
1356 | return | 1356 | return |
1357 | 1357 | ||
1358 | if self.state in (state.shutdown, state.forceshutdown): | 1358 | if self.state in (state.shutdown, state.forceshutdown, state.error): |
1359 | if hasattr(self.parser, 'shutdown'): | 1359 | if hasattr(self.parser, 'shutdown'): |
1360 | self.parser.shutdown(clean=False, force = True) | 1360 | self.parser.shutdown(clean=False, force = True) |
1361 | raise bb.BBHandledException() | 1361 | raise bb.BBHandledException() |