summaryrefslogtreecommitdiff
path: root/apt-pkg
diff options
context:
space:
mode:
authorJulian Andres Klode <julian.klode@canonical.com>2021-01-08 18:03:08 +0100
committerJulian Andres Klode <julian.klode@canonical.com>2021-01-08 18:03:08 +0100
commit24984ac47b0172400e575ad44ed60bb22543298b (patch)
tree80d162ca2e421b4a764290b409fae720e3147aad /apt-pkg
parentd43b1a03db9e17c69a15b2838fde69450764727a (diff)
kernels: remove spurious || false
Gbp-Dch: ignore
Diffstat (limited to 'apt-pkg')
-rw-r--r--apt-pkg/algorithms.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/apt-pkg/algorithms.cc b/apt-pkg/algorithms.cc
index a8e198054..260a8ac41 100644
--- a/apt-pkg/algorithms.cc
+++ b/apt-pkg/algorithms.cc
@@ -1564,19 +1564,19 @@ std::string GetProtectedKernelsRegex(pkgCache *cache, bool ReturnRemove)
if (not bootedVersion.empty())
{
- if (Debug || false)
+ if (Debug)
std::clog << "Keeping booted kernel " << bootedVersion << std::endl;
keep.insert(bootedVersion);
}
if (not lastInstalledVersion.empty())
{
- if (Debug || false)
+ if (Debug)
std::clog << "Keeping installed kernel " << lastInstalledVersion << std::endl;
keep.insert(lastInstalledVersion);
}
if (latest != version2unames.rend())
{
- if (Debug || false)
+ if (Debug)
std::clog << "Keeping latest kernel " << latest->first << std::endl;
keep.insert(latest->first);
}