From 2cec78718219516b5798b3f39790f9220578a64f Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sun, 28 Jun 2009 16:11:45 +0100 Subject: Disable use of ~/.pricedb when --args-only is present --- src/global.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/global.cc') diff --git a/src/global.cc b/src/global.cc index 1c94cfcb..40057d48 100644 --- a/src/global.cc +++ b/src/global.cc @@ -82,6 +82,8 @@ global_scope_t::global_scope_t(char ** envp) read_environment_settings(envp); session().set_flush_on_next_data_file(true); read_init(); + } else { + session().HANDLER(price_db_).off(); } } -- cgit v1.2.3