diff options
-rwxr-xr-x | scripts/recipetool | 8 |
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(): | |||
82 | 82 | ||
83 | scriptutils.logger_setup_color(logger, args.color) | 83 | scriptutils.logger_setup_color(logger, args.color) |
84 | 84 | ||
85 | tinfoil_init(getattr(args, 'parserecipes', False)) | 85 | try: |
86 | 86 | tinfoil_init(getattr(args, 'parserecipes', False)) | |
87 | ret = args.func(args) | 87 | ret = args.func(args) |
88 | except bb.BBHandledException: | ||
89 | ret = 1 | ||
88 | 90 | ||
89 | return ret | 91 | return ret |
90 | 92 | ||