diff options
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/config.cc | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/lib/config.cc b/src/lib/config.cc index f341799c4..18fda63e3 100644 --- a/src/lib/config.cc +++ b/src/lib/config.cc @@ -166,13 +166,8 @@ void Config::read () try { - boost::filesystem::path const config_path = config_file (); - if (!boost::filesystem::exists (config_path)) { - return; - } - cxml::Document f ("Config"); - f.read_file (config_path); + f.read_file (config_file ()); optional<int> version = f.optional_number_child<int> ("Version"); |
