From 38daf8b7eb47915c05aae3edf3125241b5afbe8d Mon Sep 17 00:00:00 2001 From: Christopher Larson Date: Tue, 31 Jan 2012 11:47:07 -0600 Subject: cooker: add missing shutdowns to the exception handling (Bitbake rev: c9f58ef6b897d3fa5b0d23734b5f2cb3dabb057a) Signed-off-by: Christopher Larson Signed-off-by: Richard Purdie --- bitbake/lib/bb/cooker.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bitbake') diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py index 652cd5d5c2..7dab38e287 100644 --- a/bitbake/lib/bb/cooker.py +++ b/bitbake/lib/bb/cooker.py @@ -1507,8 +1507,10 @@ class CookerParser(object): bb.fatal('Unable to parse %s: %s' % (exc.recipe, bb.exceptions.to_string(exc.realexception))) except (bb.parse.ParseError, bb.data_smart.ExpansionError) as exc: + self.shutdown(clean=False) bb.fatal(str(exc)) except SyntaxError as exc: + self.shutdown(clean=False) logger.error('Unable to parse %s', exc.recipe) sys.exit(1) except Exception as exc: -- cgit v1.2.3-54-g00ecf