summaryrefslogtreecommitdiff
path: root/apt-pkg
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2011-04-16 18:07:52 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2011-04-16 18:07:52 +0200
commit92a21ab552af02878b4d41e3514321c2f2fc1105 (patch)
treee344109429ab4a7e5cb106cc8ae5ef06d67ab254 /apt-pkg
parent446bbcf47d466dc160813db8a331c5cd45395803 (diff)
* apt-pkg/orderlist.cc:
- let VisitRProvides report if the calls were successful
Diffstat (limited to 'apt-pkg')
-rw-r--r--apt-pkg/orderlist.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/orderlist.cc b/apt-pkg/orderlist.cc
index d5bd19581..eab05a497 100644
--- a/apt-pkg/orderlist.cc
+++ b/apt-pkg/orderlist.cc
@@ -490,7 +490,7 @@ bool pkgOrderList::VisitRProvides(DepFunc F,VerIterator Ver)
bool Res = true;
for (PrvIterator P = Ver.ProvidesList(); P.end() == false; P++)
Res &= (this->*F)(P.ParentPkg().RevDependsList());
- return true;
+ return Res;
}
/*}}}*/
// OrderList::VisitProvides - Visit all of the providing packages /*{{{*/