diff options
author | John Wiegley <johnw@newartisans.com> | 2009-01-20 20:58:28 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-01-20 20:58:28 -0400 |
commit | ca0b524628bce1b24e381f25493e3e1b72eff211 (patch) | |
tree | 54c48b39c4317781055c30d4a4a3707c67672dad /main.cc | |
parent | 8f1729b570b76b37e86d6f12652bfc6799f3ee99 (diff) | |
download | fork-ledger-ca0b524628bce1b24e381f25493e3e1b72eff211.tar.gz fork-ledger-ca0b524628bce1b24e381f25493e3e1b72eff211.tar.bz2 fork-ledger-ca0b524628bce1b24e381f25493e3e1b72eff211.zip |
Don't use a cache file if it equals '<none>' (when --no-cache is used).
Diffstat (limited to 'main.cc')
-rw-r--r-- | main.cc | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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()); |