diff --git a/bitbake/lib/bb/__init__.py b/bitbake/lib/bb/__init__.py index 64491ff7f7..018b7442bf 100644 --- a/bitbake/lib/bb/__init__.py +++ b/bitbake/lib/bb/__init__.py @@ -99,8 +99,7 @@ def error(*args): def fatal(*args): logger.critical(''.join(args)) - sys.exit(1) - + raise BBHandledException() def deprecated(func, name=None, advice=""): """This is a decorator which can be used to mark functions