summaryrefslogtreecommitdiff
path: root/src/target
diff options
context:
space:
mode:
Diffstat (limited to 'src/target')
-rw-r--r--src/target/target.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/target/target.c b/src/target/target.c
index cd057b26..f3051cb0 100644
--- a/src/target/target.c
+++ b/src/target/target.c
@@ -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)