INN commit: branches/2.5/scripts (inncheck.in)
INN Commit
rra at isc.org
Tue Jun 12 20:43:53 UTC 2012
Date: Tuesday, June 12, 2012 @ 13:43:53
Author: iulius
Revision: 9419
inncheck: skip warning when .OLD backup files are found
Modified:
branches/2.5/scripts/inncheck.in
-------------+
inncheck.in | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Modified: inncheck.in
===================================================================
--- inncheck.in 2012-06-12 20:43:21 UTC (rev 9418)
+++ inncheck.in 2012-06-12 20:43:53 UTC (rev 9419)
@@ -1089,8 +1089,8 @@
$dummy{$_}++;
}
foreach ( @in ) {
- if (not exists $dummy{$_}) {
- eprint "$pfx$dir:0: ERROR: illegal file `$_' in directory (it may be a valid backup if it ends with '.OLD')\n";
+ if (not exists $dummy{$_} and $_ !~ /\.OLD$/) {
+ eprint "$pfx$dir:0: ERROR: illegal file `$_' in directory\n";
$i = 0;
}
}
More information about the inn-committers
mailing list