From e4bc46a82dccae1e10f8dbabc5394667d60526fb Mon Sep 17 00:00:00 2001 From: Nathael Pajani Date: Sun, 15 Apr 2012 23:37:47 +0200 Subject: [PATCH] Fixing return code of isp_handle_command() --- isp_commands.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/isp_commands.c b/isp_commands.c index f269da9..2183241 100644 --- a/isp_commands.c +++ b/isp_commands.c @@ -532,7 +532,7 @@ int isp_handle_command(char* cmd, int arg_count, char** args) if (arg_count != isp_cmds_list[cmd_found].nb_args) { isp_warn_trailing_args(cmd_found, arg_count, args); } - isp_cmds_list[cmd_found].handler(arg_count, args); + ret = isp_cmds_list[cmd_found].handler(arg_count, args); if (cmd_found == -1) { printf("Unknown command \"%s\", use -h or --help for a list.\n", cmd); -- 2.43.0