INN commit: trunk/scripts (innreport.in)
INN Commit
Russ_Allbery at isc.org
Tue Nov 18 19:15:54 UTC 2008
Date: Tuesday, November 18, 2008 @ 11:15:53
Author: iulius
Revision: 8175
Check whether the config file is a real file.
Patch from Alexander Bartolich.
Modified:
trunk/scripts/innreport.in
--------------+
innreport.in | 1 +
1 file changed, 1 insertion(+)
Modified: innreport.in
===================================================================
--- innreport.in 2008-11-18 15:11:03 UTC (rev 8174)
+++ innreport.in 2008-11-18 19:15:53 UTC (rev 8175)
@@ -2716,6 +2716,7 @@
print "};\n\n" if $DEBUG;
}
close FILE;
+ die "Configuration file $file is empty." if ($linenum < 1);
$output{'_order_'} = \@list;
}
More information about the inn-committers
mailing list