diff options
author | Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com> | 2015-09-30 05:38:32 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-10-01 07:43:38 +0100 |
commit | b355a5e00ea141cdde980cb5bfbecba537e89b11 (patch) | |
tree | db7a1fda274d8bed81c35abd763d6ea664190385 /scripts/yocto-bsp | |
parent | ad9ee3d76b39a8fa883be59c31483ce08f4091f3 (diff) | |
download | poky-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-x | scripts/yocto-bsp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/yocto-bsp b/scripts/yocto-bsp index d269861769..2d9453fbe8 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 | ||