aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/recipetool
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/recipetool')
-rwxr-xr-xscripts/recipetool8
1 files changed, 5 insertions, 3 deletions
diff --git a/scripts/recipetool b/scripts/recipetool
index c68bef4c96..3063cf7c43 100755
--- a/scripts/recipetool
+++ b/scripts/recipetool
@@ -82,9 +82,11 @@ def main():
scriptutils.logger_setup_color(logger, args.color)
- tinfoil_init(getattr(args, 'parserecipes', False))
-
- ret = args.func(args)
+ try:
+ tinfoil_init(getattr(args, 'parserecipes', False))
+ ret = args.func(args)
+ except bb.BBHandledException:
+ ret = 1
return ret