Skip to content

Commit

Permalink
cli: MD5 mismatch 的时候也返回异常 return code
Browse files Browse the repository at this point in the history
  • Loading branch information
xychen committed Jan 8, 2024
1 parent 84cf292 commit c95666a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cskburn/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -999,6 +999,7 @@ serial_burn(cskburn_partition_t *parts, int parts_cnt)
md5_str);
if (memcmp(image_md5, flash_md5, MD5_SIZE) != 0) {
LOGE("ERROR: MD5 mismatch");
ret = -EIO;
goto err_write;
}
}
Expand Down

0 comments on commit c95666a

Please sign in to comment.