diff --git a/lib/remote/apilistener-filesync.cpp b/lib/remote/apilistener-filesync.cpp index 4386a688a..4b0f7fc09 100644 --- a/lib/remote/apilistener-filesync.cpp +++ b/lib/remote/apilistener-filesync.cpp @@ -105,11 +105,9 @@ bool ApiListener::UpdateConfigDir(const ConfigDirInformation& oldConfigInfo, con { ObjectLock olock(newConfig); BOOST_FOREACH(const Dictionary::Pair& kv, newConfig) { - if (Utility::Match("*/.timestamp", kv.first)) - continue; - if (oldConfig->Get(kv.first) != kv.second) { - configChange = true; + if (!Utility::Match("*/.timestamp", kv.first)) + configChange = true; String path = configDir + "/" + kv.first; Log(LogInformation, "ApiListener")