Btrfs-progs: return 1 rather than 129 in usage()

if usage or syntax error happens, we return 1.

Signed-off-by: Wang Shilong <wangsl.fnst@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
This commit is contained in:
Wang Shilong 2013-09-04 23:22:18 +08:00 committed by Chris Mason
parent 36dcac288e
commit c1e23b2aa5

2
help.c
View File

@ -121,7 +121,7 @@ void usage_command(const struct cmd_struct *cmd, int full, int err)
void usage(const char * const *usagestr)
{
usage_command_usagestr(usagestr, NULL, 1, 1);
exit(129);
exit(1);
}
static void usage_command_group_internal(const struct cmd_group *grp, int full,