Always report file with incorrect hash.
This commit is contained in:
parent
899185287c
commit
7b8b0fdba0
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=346070
@ -366,7 +366,7 @@ verify_file(int fd, const char *filename, off_t off, int severity)
|
|||||||
return (rc);
|
return (rc);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (severity || verbose)
|
if (severity || verbose || rc == VE_FINGERPRINT_WRONG)
|
||||||
printf("Unverified: %s\n", ve_error_get());
|
printf("Unverified: %s\n", ve_error_get());
|
||||||
if (rc == VE_FINGERPRINT_UNKNOWN && severity < VE_MUST)
|
if (rc == VE_FINGERPRINT_UNKNOWN && severity < VE_MUST)
|
||||||
rc = VE_UNVERIFIED_OK;
|
rc = VE_UNVERIFIED_OK;
|
||||||
|
Loading…
Reference in New Issue
Block a user