2
0
mirror of git://git.code.sf.net/p/openocd/code synced 2025-07-19 10:08:37 +10:00

propagate error code in case of "reset" failing.

git-svn-id: svn://svn.berlios.de/openocd/trunk@906 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
oharboe 2008-08-11 10:31:13 +00:00
parent 1ee637287e
commit c45225dd11

View File

@ -1701,9 +1701,7 @@ int handle_reset_command(struct command_context_s *cmd_ctx, char *cmd, char **ar
}
/* reset *all* targets */
target_process_reset(cmd_ctx, reset_mode);
return ERROR_OK;
return target_process_reset(cmd_ctx, reset_mode);
}
int handle_resume_command(struct command_context_s *cmd_ctx, char *cmd, char **args, int argc)