tools: imagetool: Show error message when detecting image type failed
Signed-off-by: Pali Rohár <pali@kernel.org>
This commit is contained in:
@@ -71,6 +71,11 @@ int imagetool_verify_print_header(
|
||||
}
|
||||
}
|
||||
|
||||
if (retval != 0) {
|
||||
fprintf(stderr, "%s: cannot detect image type\n",
|
||||
params->cmdname);
|
||||
}
|
||||
|
||||
return retval;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user