chiark / gitweb /
Print warning count
[chiark-utils.git] / scripts / named-conf
index 5fafeece465470b48af67a2ebb356396a7a65dfb..0f4861e2e594933be1a05f8682ec3399a24164c0 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