]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Update error on bad file name for ignorelist
authorEnsar Sarajčić <es.ensar@gmail.com>
Thu, 6 Jun 2024 06:50:31 +0000 (08:50 +0200)
committerGitHub <noreply@github.com>
Thu, 6 Jun 2024 06:50:31 +0000 (08:50 +0200)
Co-authored-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
pdns/recursordist/rec-main.cc

index f425525f06701af5fe9e80749e1d86ad44636fcb..e1f956be824d793f0ca5470be1a2403d61f13109 100644 (file)
@@ -873,7 +873,7 @@ static void parseIgnorelistFile(const std::string& fname, SuffixMatchNode& match
   string line;
   std::ifstream ignorelistFileStream(fname);
   if (!ignorelistFileStream) {
-    throw ArgException(fname + " could not be parsed");
+    throw ArgException(fname + " could not be opened");
   }
 
   while (getline(ignorelistFileStream, line)) {