lib: updatehub: Add flash_img_init return value check
The flash_img_int return value is not checked for fail conditions.
This can result on useless download attempts once image will not
be properly recorded. Add return value check and on error execute
default treatment.
Fixes #26992.
Signed-off-by:
Gerson Fernando Budke <gerson.budke@ossystems.com.br>
Loading
Please sign in to comment