浏览代码

renamed config variable setRules to setRule

Wolfgang Ortmann 9 年之前
父节点
当前提交
379771ebcb
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/expiretools.cpp

+ 1 - 1
src/expiretools.cpp

@@ -16,7 +16,7 @@ void readSetRules(const KindConfig& conf,
                   map<string, pair<time_t, time_t> >& ruleSet,
                   map<string, string>& backupSetRule)
 {
-  Strings setRules = conf.getStrings("setRules");
+  Strings setRules = conf.getStrings("setRule");
   if (!setRules.empty())
     {
       for (const string& rule : setRules)