From cb8241dda783f7e8c143b08fecf57fe89a39c3a6 Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Thu, 9 Jul 2009 11:03:54 +0300 Subject: [PATCH] Unbreak --excludepath (RhBug:409637) - excluded paths aren't counted as actual relocations, dont bother checkig addPrefixes() return --- lib/rpmfi.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/rpmfi.c b/lib/rpmfi.c index 0ed871a..ea241c5 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; -- 2.7.4