summaryrefslogtreecommitdiff
path: root/main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'main.cc')
-rw-r--r--main.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.cc b/main.cc
index 02a06f0c..8a3b1325 100644
--- a/main.cc
+++ b/main.cc
@@ -414,7 +414,8 @@ appending the output of this command to your Ledger file if you so choose."
// Write out the binary cache, if need be
if (config.use_cache && config.cache_dirty &&
- ! config.cache_file.empty()) {
+ ! config.cache_file.empty() &&
+ config.cache_file != "<none>") {
TRACE_PUSH(binary_cache, "Writing journal file");
std::ofstream stream(config.cache_file.c_str());