From: Miod Vallat Date: Wed, 12 Nov 2025 10:45:33 +0000 (+0100) Subject: Fix grammar in error messages. X-Git-Tag: rec-5.4.0-alpha1~102^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F16473%2Fhead;p=thirdparty%2Fpdns.git Fix grammar in error messages. Signed-off-by: Miod Vallat --- 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()) {