Unbreak --excludepath (RhBug:409637)
authorPanu Matilainen <pmatilai@redhat.com>
Thu, 9 Jul 2009 08:03:54 +0000 (11:03 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Thu, 9 Jul 2009 08:03:54 +0000 (11:03 +0300)
- excluded paths aren't counted as actual relocations, dont bother
  checkig addPrefixes() return

lib/rpmfi.c

index 0ed871a..ea241c5 100644 (file)
@@ -841,8 +841,7 @@ void rpmRelocateFileList(rpmRelocation *relocations, int numRelocations,
     int i, j;
     struct rpmtd_s bnames, dnames, dindexes, fmodes;
 
-    if (addPrefixes(h, relocations, numRelocations) == 0)
-       return;
+    addPrefixes(h, relocations, numRelocations);
 
     if (!_printed) {
        _printed = 1;