From 1e378b0f80c73af839ee0bf38a9e2c226c31569f Mon Sep 17 00:00:00 2001 From: Johannes Berg Date: Wed, 3 Apr 2013 17:25:15 +0200 Subject: [PATCH] gentree: fix return code The recent shuffling broke the return value, return it. Signed-off-by: Johannes Berg --- gentree.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/gentree.py b/gentree.py index 7ca91d859db8..c6ed9c5d076a 100755 --- a/gentree.py +++ b/gentree.py @@ -224,11 +224,11 @@ def _main(): parser.add_argument('--extra-driver', nargs=2, metavar=('', ''), type=str, action='append', default=[], help='Extra driver directory/copy-list.') args = parser.parse_args() - process(args.kerneldir, args.outdir, args.copy_list, - git_revision=args.git_revision, clean=args.clean, - refresh=args.refresh, base_name=args.base_name, - gitdebug=args.gitdebug, verbose=args.verbose, - extra_driver=args.extra_driver) + return process(args.kerneldir, args.outdir, args.copy_list, + git_revision=args.git_revision, clean=args.clean, + refresh=args.refresh, base_name=args.base_name, + gitdebug=args.gitdebug, verbose=args.verbose, + extra_driver=args.extra_driver) def process(kerneldir, outdir, copy_list_file, git_revision=None, clean=False, refresh=False, base_name="Linux", gitdebug=False, -- 2.30.2