INN commit: branches/2.4/scripts (innreport.in)
INN Commit
Russ_Allbery at isc.org
Tue Dec 2 17:31:33 UTC 2008
Date: Tuesday, December 2, 2008 @ 09:31:32
Author: iulius
Revision: 8205
Check whether the config file is a real file.
Patch from Alexander Bartolich.
Modified:
branches/2.4/scripts/innreport.in
--------------+
innreport.in | 1 +
1 file changed, 1 insertion(+)
Modified: innreport.in
===================================================================
--- innreport.in 2008-12-02 17:19:03 UTC (rev 8204)
+++ innreport.in 2008-12-02 17:31:32 UTC (rev 8205)
@@ -2440,6 +2440,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