propagate error code in case of "reset" failing.

git-svn-id: svn://svn.berlios.de/openocd/trunk@906 b42882b7-edfa-0310-969c-e2dbd0fdcd60
__archive__
oharboe 2008-08-11 10:31:13 +00:00
parent 1ee637287e
commit c45225dd11
1 changed files with 1 additions and 3 deletions

View File

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