From edb57d9cf9820631062cbfc4c8453d352185dbdf Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Wed, 12 Nov 2025 11:45:33 +0100 Subject: [PATCH] Fix grammar in error messages. Signed-off-by: Miod Vallat --- pdns/auth-secondarycommunicator.cc | 2 +- pdns/recursordist/rec-main.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pdns/auth-secondarycommunicator.cc b/pdns/auth-secondarycommunicator.cc index d8791f2b5c..eb17c85508 100644 --- a/pdns/auth-secondarycommunicator.cc +++ b/pdns/auth-secondarycommunicator.cc @@ -272,7 +272,7 @@ static bool catalogDiff(const XFRContext& ctx, vector& 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 { diff --git a/pdns/recursordist/rec-main.cc b/pdns/recursordist/rec-main.cc index 556967781d..a97a4efc36 100644 --- a/pdns/recursordist/rec-main.cc +++ b/pdns/recursordist/rec-main.cc @@ -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()) { -- 2.47.3