summaryrefslogtreecommitdiff
path: root/methods
diff options
context:
space:
mode:
authorJulian Andres Klode <julian.klode@canonical.com>2022-10-31 11:17:04 +0100
committerJulian Andres Klode <julian.klode@canonical.com>2022-10-31 11:18:13 +0100
commitc2cb1e42189c5fe3481386cb83a6b03bfe583d1f (patch)
tree834902f405dd06669a285ec666c93b0d46d5a3f9 /methods
parentdccfe14ffb9713fbf320691c0f6cd679f2acf4fc (diff)
Actually delete temporary apt-key.*.asc helper files
During development there was an if (0) there for debugging purposes that unfortunately stayed in and caused files to accumulate. LP: #1995247
Diffstat (limited to 'methods')
-rw-r--r--methods/gpgv.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/methods/gpgv.cc b/methods/gpgv.cc
index b8d348484..267b43e08 100644
--- a/methods/gpgv.cc
+++ b/methods/gpgv.cc
@@ -482,7 +482,7 @@ bool GPGVMethod::URIAcquire(std::string const &Message, FetchItem *Itm)
struct TemporaryFile
{
std::string name = "";
- ~TemporaryFile() { if (0) RemoveFile("~TemporaryFile", name); }
+ ~TemporaryFile() { RemoveFile("~TemporaryFile", name); }
} tmpKey;
std::string SignedBy = DeQuoteString(LookupTag(Message, "Signed-By"));