From 9a16c546a87fb36e09cb1f1822739c11012fcd6c Mon Sep 17 00:00:00 2001 From: ianmdlvl Date: Mon, 31 Dec 2001 15:08:18 +0000 Subject: [PATCH] Print warning count --- scripts/named-conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/named-conf b/scripts/named-conf index 5fafeec..0f4861e 100755 --- a/scripts/named-conf +++ b/scripts/named-conf @@ -97,6 +97,8 @@ debug_dump('@zone_cfg_list %zone_cfg'); process_zones($mode ? @zone_cfg_list : @ARGV); debug_dump('%output_contents'); +print STDERR "$0: $warnings warnings\n" if $warnings; +exit 0; #-------------------- configuration reading -- 2.30.2