summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2009-07-09 11:03:54 +0300
committerPanu Matilainen <pmatilai@redhat.com>2009-07-21 09:50:21 +0300
commit21cf1b7bf0bd81d4540112efee1630a601dd62c8 (patch)
tree24eec23470c3d9e1a0892fb024d4defd3377091c
parentd5558c4a9b2eaeb8991b4ab898d9e0e289dd72bf (diff)
downloadrpm-21cf1b7bf0bd81d4540112efee1630a601dd62c8.tar.gz
Unbreak --excludepath (RhBug:409637)
- excluded paths aren't counted as actual relocations, dont bother checkig addPrefixes() return (cherry picked from commit cb8241dda783f7e8c143b08fecf57fe89a39c3a6)
-rw-r--r--lib/rpmfi.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/rpmfi.c b/lib/rpmfi.c
index 53ff8f74b..028eecc0d 100644
--- a/lib/rpmfi.c
+++ b/lib/rpmfi.c
@@ -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;