chiark / gitweb /
Print warning count
authorianmdlvl <ianmdlvl>
Mon, 31 Dec 2001 15:08:18 +0000 (15:08 +0000)
committerianmdlvl <ianmdlvl>
Mon, 31 Dec 2001 15:08:18 +0000 (15:08 +0000)
scripts/named-conf

index 5fafeec..0f4861e 100755 (executable)
@@ -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