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:
parent
1ee637287e
commit
c45225dd11
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue