about summary refs log tree commit diff
path: root/src/libutil/config.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/libutil/config.cc')
-rw-r--r--src/libutil/config.cc7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/libutil/config.cc b/src/libutil/config.cc
index cdd1e0a15aa6..ce6858f0d65a 100644
--- a/src/libutil/config.cc
+++ b/src/libutil/config.cc
@@ -47,13 +47,10 @@ void Config::addSetting(AbstractSetting * setting)
     }
 }
 
-void Config::handleUnknownSettings(bool fatal)
+void Config::handleUnknownSettings()
 {
     for (auto & s : extras)
-        if (fatal)
-            throw UsageError("unknown setting '%s%'", s.first);
-        else
-            warn("unknown setting '%s'", s.first);
+        warn("unknown setting '%s'", s.first);
 }
 
 StringMap Config::getSettings(bool overridenOnly)