]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Fix grammar in error messages. 16473/head
authorMiod Vallat <miod.vallat@powerdns.com>
Wed, 12 Nov 2025 10:45:33 +0000 (11:45 +0100)
committerMiod Vallat <miod.vallat@powerdns.com>
Wed, 12 Nov 2025 10:45:33 +0000 (11:45 +0100)
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
pdns/auth-secondarycommunicator.cc
pdns/recursordist/rec-main.cc

index d8791f2b5c88af8040e402b0faa0d91a55248166..eb17c8550801b756f0d92990f3f10626a19a6df9 100644 (file)
@@ -272,7 +272,7 @@ static bool catalogDiff(const XFRContext& ctx, vector<CatalogInfo>& fromXFR, vec
             g_zoneCache.add(zone.first, d.id);
           }
           else {
-            g_log << Logger::Error << logPrefix << "new zone '" << zone.first << "' does not exists and was not inserted in the zone-cache" << endl;
+            g_log << Logger::Error << logPrefix << "new zone '" << zone.first << "' does not exist and was not inserted in the zone-cache" << endl;
           }
         }
         else {
index 556967781d384ab127ebf9752cb9ccdfd9e4f8dd..a97a4efc36cff1b36f0f9ef3bb54d4e90eee9d78 100644 (file)
@@ -812,7 +812,7 @@ static void setupNODThread(Logr::log_t log)
       g_nodDBp->setCacheDir(::arg()["new-domain-history-dir"]);
     }
     catch (const PDNSException& e) {
-      log->error(Logr::Error, e.reason, "new-domain-history-dir is not readable or does not exists", "dir", Logging::Loggable(::arg()["new-domain-history-dir"]));
+      log->error(Logr::Error, e.reason, "new-domain-history-dir is not readable or does not exist", "dir", Logging::Loggable(::arg()["new-domain-history-dir"]));
       _exit(1);
     }
     if (!g_nodDBp->init()) {