From: Wang Shilong <wangsl.f...@cn.fujitsu.com> if usage or syntax error happens, we return 1.
Signed-off-by: Wang Shilong <wangsl.f...@cn.fujitsu.com> --- help.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/help.c b/help.c index d429a6b..09dc706 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, -- 1.7.11.7 -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html