Skip to content

Commit

Permalink
manifest: Fixed ignored error code in verify_image
Browse files Browse the repository at this point in the history
Function verify_image always returns 0, even if error was detected.

Signed-off-by: Adrian Warecki <[email protected]>
  • Loading branch information
softwarecki committed Sep 5, 2023
1 parent 7d51294 commit 06b981c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/manifest.c
Original file line number Diff line number Diff line change
Expand Up @@ -1606,7 +1606,7 @@ int verify_image(struct image *image)
image->verify_file);
out:
fclose(in_file);
return 0;
return ret;
}


Expand Down

0 comments on commit 06b981c

Please sign in to comment.