summaryrefslogtreecommitdiff
path: root/apt-pkg
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2010-09-29 19:55:04 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2010-09-29 19:55:04 +0200
commit01a6e24cd1b601df2f20190b6118c4616e7fedf2 (patch)
tree16f65e25a698ce73b41a876ca5a2249aa9e1236c /apt-pkg
parent1054d76b2519efc858a9d23301495a763c1f8230 (diff)
* apt-pkg/depcache.cc:
- do not check endpointer packages instead of only those which prevented NeverAutoRemove settings from having an effect (Closes: #598452)
Diffstat (limited to 'apt-pkg')
-rw-r--r--apt-pkg/depcache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/depcache.h b/apt-pkg/depcache.h
index 08e683558..2d3dbdf77 100644
--- a/apt-pkg/depcache.h
+++ b/apt-pkg/depcache.h
@@ -189,7 +189,7 @@ class pkgDepCache : protected pkgCache::Namespace
DefaultRootSetFunc() : Configuration::MatchAgainstConfig("APT::NeverAutoRemove") {};
virtual ~DefaultRootSetFunc() {};
- bool InRootSet(const pkgCache::PkgIterator &pkg) { return pkg.end() == true && Match(pkg.Name()); };
+ bool InRootSet(const pkgCache::PkgIterator &pkg) { return pkg.end() == false && Match(pkg.Name()); };
};
struct StateCache