summaryrefslogtreecommitdiffstats
path: root/scripts/yocto-bsp
diff options
context:
space:
mode:
authorLeonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>2015-09-30 05:38:32 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-10-01 06:43:38 (GMT)
commitb355a5e00ea141cdde980cb5bfbecba537e89b11 (patch)
treedb7a1fda274d8bed81c35abd763d6ea664190385 /scripts/yocto-bsp
parentad9ee3d76b39a8fa883be59c31483ce08f4091f3 (diff)
downloadpoky-b355a5e00ea141cdde980cb5bfbecba537e89b11.tar.gz
scripts/yocto-bsp: Exit successfully when asking for help
When user asks for help, the command should not exit with non-zero status (failure), so removing the non-zero value on the system exit call. (From meta-yocto rev: 98970326fb2f08e684cfc856103b2f9110c9f4fb) Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/yocto-bsp')
-rwxr-xr-xscripts/yocto-bsp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/yocto-bsp b/scripts/yocto-bsp
index d269861..2d9453f 100755
--- a/scripts/yocto-bsp
+++ b/scripts/yocto-bsp
@@ -140,7 +140,7 @@ def main():
140 if args[0] == "help": 140 if args[0] == "help":
141 if len(args) == 1: 141 if len(args) == 1:
142 parser.print_help() 142 parser.print_help()
143 sys.exit(1) 143 sys.exit()
144 144
145 invoke_subcommand(args, parser, yocto_bsp_help_usage, subcommands) 145 invoke_subcommand(args, parser, yocto_bsp_help_usage, subcommands)
146 146