aboutsummaryrefslogtreecommitdiff
path: root/src/libutil
diff options
context:
space:
mode:
Diffstat (limited to 'src/libutil')
-rw-r--r--src/libutil/config.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libutil/config.cc b/src/libutil/config.cc
index 521733025..eef01bde2 100644
--- a/src/libutil/config.cc
+++ b/src/libutil/config.cc
@@ -270,6 +270,7 @@ template<> std::string BaseSetting<StringSet>::to_string() const
template<> void BaseSetting<StringMap>::set(const std::string & str)
{
+ value.clear();
auto kvpairs = tokenizeString<Strings>(str);
for (auto & s : kvpairs)
{