From c1e23b2aa526dee6810a3ce3aada71871bfe205c Mon Sep 17 00:00:00 2001 From: Wang Shilong Date: Wed, 4 Sep 2013 23:22:18 +0800 Subject: [PATCH] Btrfs-progs: return 1 rather than 129 in usage() if usage or syntax error happens, we return 1. Signed-off-by: Wang Shilong Signed-off-by: David Sterba Signed-off-by: Chris Mason --- help.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/help.c b/help.c index d429a6b0..09dc706a 100644 --- a/help.c +++ b/help.c @@ -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,