summaryrefslogtreecommitdiffstats
path: root/commands/uimage.c
diff options
context:
space:
mode:
Diffstat (limited to 'commands/uimage.c')
-rw-r--r--commands/uimage.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/commands/uimage.c b/commands/uimage.c
index 345e49600c..bdc74448d9 100644
--- a/commands/uimage.c
+++ b/commands/uimage.c
@@ -62,12 +62,9 @@ static int do_uimage(int argc, char *argv[])
if (verify) {
printf("verifying data crc... ");
ret = uimage_verify(handle);
- if (ret) {
+ if (ret)
goto err;
- printf("Bad Data CRC\n");
- } else {
- printf("ok\n");
- }
+ printf("ok\n");
}
if (extract) {