Run filelist checks even if other errors are present.

This causes the unpackaged files check to be run even if there are other
errors in the file processing. This is rather handy in spotting spec typos
and such.

Patch from OpenSuSE, somewhat modified.
This commit is contained in:
Panu Matilainen 2007-05-25 12:57:10 +03:00
parent a3f86a1d3d
commit 89e3d5c1ae
1 changed files with 3 additions and 2 deletions

View File

@ -2481,8 +2481,9 @@ int processBinaryFiles(Spec spec, int installSpecialDoc, int test)
* and duplicated files.
*/
if (res == 0) {
if (checkFiles(check_fileList) > 0)
if (checkFiles(check_fileList) > 0) {
if (res == 0)
res = 1;
}