aboutsummaryrefslogtreecommitdiff
path: root/bpkg/bpkg.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-01-16 10:29:18 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-01-16 10:29:18 +0200
commitce76d4774a9e9d6b6c57d2c21f45f289eedccd56 (patch)
treefed7459fbf40e14f6297d1911c39e0daf3a43f27 /bpkg/bpkg.cxx
parente2d59d4a05b7624570c6398b3a6d095138d0d241 (diff)
Use tmp directory facility for storing temporary certificates
Diffstat (limited to 'bpkg/bpkg.cxx')
-rw-r--r--bpkg/bpkg.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/bpkg/bpkg.cxx b/bpkg/bpkg.cxx
index 4385567..79e3341 100644
--- a/bpkg/bpkg.cxx
+++ b/bpkg/bpkg.cxx
@@ -309,8 +309,7 @@ try
break;
}
- if (!tmp_dir.empty ())
- clean_tmp (true /* ignore_error */);
+ clean_tmp (true /* ignore_error */);
if (r != 0)
return r;