missing files are reported better
CVS patchset: 369 CVS date: 1996/02/20 22:18:36
This commit is contained in:
parent
cffbf3f1d0
commit
c40c0b624c
6
verify.c
6
verify.c
|
@ -23,8 +23,9 @@ static void verifyHeader(char * prefix, Header h) {
|
|||
|
||||
if (getEntry(h, RPMTAG_FILENAMES, &type, (void **) &fileList, &count)) {
|
||||
for (i = 0; i < count; i++) {
|
||||
rpmVerifyFile(prefix, h, i, &verifyResult);
|
||||
|
||||
if (rpmVerifyFile(prefix, h, i, &verifyResult))
|
||||
printf("missing %s\n", fileList[i]);
|
||||
else {
|
||||
size = md5 = link = mtime = mode = ".";
|
||||
user = group = rdev = ".";
|
||||
|
||||
|
@ -51,6 +52,7 @@ static void verifyHeader(char * prefix, Header h) {
|
|||
size, mode, md5, rdev, link, user, group, mtime,
|
||||
fileList[i]);
|
||||
}
|
||||
}
|
||||
|
||||
free(fileList);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue