Commit c45225dd authored by oharboe's avatar oharboe
Browse files

propagate error code in case of "reset" failing.

git-svn-id: svn://svn.berlios.de/openocd/trunk@906 b42882b7-edfa-0310-969c-e2dbd0fdcd60
parent 1ee63728
......@@ -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)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment