Signed-off-by: Pali Rohár <[email protected]>
---
 tools/imagetool.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/tools/imagetool.c b/tools/imagetool.c
index 688169b3a813..e1021f44f5ad 100644
--- a/tools/imagetool.c
+++ b/tools/imagetool.c
@@ -71,6 +71,11 @@ int imagetool_verify_print_header(
                }
        }
 
+       if (retval != 0) {
+               fprintf(stderr, "%s: cannot detect image type\n",
+                       params->cmdname);
+       }
+
        return retval;
 }
 
-- 
2.20.1

Reply via email to