diff options
Diffstat (limited to 'config.cc')
-rw-r--r-- | config.cc | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -20,6 +20,8 @@ config_t::config_t() { if (const char * p = std::getenv("HOME")) init_file = cache_file = price_db = p; + else + init_file = cache_file = price_db = ""; init_file += "/.ledgerrc"; cache_file += "/.ledger"; |