diff --git a/bitbake/lib/bb/command.py b/bitbake/lib/bb/command.py index 24ff341045..a7cac97e2d 100644 --- a/bitbake/lib/bb/command.py +++ b/bitbake/lib/bb/command.py @@ -71,7 +71,7 @@ class Command: result = command_method(self, commandline) except CommandError as exc: return None, exc.args[0] - except Exception: + except (Exception, SystemExit): import traceback return None, traceback.format_exc() else: