Commit c5e51bca authored by oharboe's avatar oharboe
Browse files

propagate error in dump_image. If an error occurs during dump_image, a tcl exception is thrown.

git-svn-id: svn:// b42882b7-edfa-0310-969c-e2dbd0fdcd60
parent 3d4e32bc
......@@ -2158,10 +2158,10 @@ static int handle_dump_image_command(struct command_context_s *cmd_ctx, char *cm
if (retval==ERROR_OK)
command_print(cmd_ctx, "dumped %"PRIi64" byte in %s", fileio.size, duration_text);
return ERROR_OK;
return retval;
static int handle_verify_image_command_internal(struct command_context_s *cmd_ctx, char *cmd, char **args, int argc, int verify)
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