aboutsummaryrefslogtreecommitdiff
path: root/src/pbcontroller.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/pbcontroller.cpp')
-rw-r--r--src/pbcontroller.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pbcontroller.cpp b/src/pbcontroller.cpp
index 75e5009a..5890b9a1 100644
--- a/src/pbcontroller.cpp
+++ b/src/pbcontroller.cpp
@@ -279,8 +279,8 @@ int PbController::initialize(int argc, char* argv[])
cfgparser.register_handler("reset-unread-on-update", null_cah);
try {
- cfgparser.parse("/etc/newsboat/config");
- cfgparser.parse(config_file);
+ cfgparser.parse_file("/etc/newsboat/config");
+ cfgparser.parse_file(config_file);
} catch (const ConfigException& ex) {
std::cout << ex.what() << std::endl;
return EXIT_FAILURE;