소스 검색

renamed config variable setRules to setRule

Wolfgang Ortmann 10 년 전
부모
커밋
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)