From: Miod Vallat Date: Mon, 11 Aug 2025 12:18:31 +0000 (+0200) Subject: Exit earlier if no changes in the edit. X-Git-Tag: rec-5.4.0-alpha1~369^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=36591c40e9ae9b026f0002fc9259b3c986f97497;p=thirdparty%2Fpdns.git Exit earlier if no changes in the edit. Signed-off-by: Miod Vallat --- diff --git a/pdns/pdnsutil.cc b/pdns/pdnsutil.cc index 5f473378a2..95a60f03a3 100644 --- a/pdns/pdnsutil.cc +++ b/pdns/pdnsutil.cc @@ -2102,6 +2102,10 @@ static int editZone(const ZoneName &zone, const PDNSColors& col) changed[{diff.d_name,diff.d_type}]+=str.str(); } } + if (changed.empty()) { + cout<