From c15ba854b6736696f164e4d2c243a944e2d4006e Mon Sep 17 00:00:00 2001 From: David Kalnischkies Date: Sat, 31 Dec 2016 00:09:11 +0100 Subject: use FindB instead of FindI for Debug::pkgAutoRemove MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Again no practical difference, but for consistency a boolean option should really be accessed via a boolean method rather than an int especially if you happen to try setting the option to "true" … Gbp-Dch: Ignore --- apt-private/private-install.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apt-private/private-install.cc') diff --git a/apt-private/private-install.cc b/apt-private/private-install.cc index e3fe46960..b49c7f2ef 100644 --- a/apt-private/private-install.cc +++ b/apt-private/private-install.cc @@ -396,7 +396,7 @@ bool InstallPackages(CacheFile &Cache,bool ShwKept,bool Ask, bool Safety) /* Remove unused automatic packages */ bool DoAutomaticRemove(CacheFile &Cache) { - bool Debug = _config->FindI("Debug::pkgAutoRemove",false); + bool Debug = _config->FindB("Debug::pkgAutoRemove",false); bool doAutoRemove = _config->FindB("APT::Get::AutomaticRemove", false); bool hideAutoRemove = _config->FindB("APT::Get::HideAutoRemove"); -- cgit v1.2.3