INN commit: trunk/scripts (inncheck.in)

INN Commit rra at isc.org
Tue Jun 12 20:43:21 UTC 2012


    Date: Tuesday, June 12, 2012 @ 13:43:21
  Author: iulius
Revision: 9418

inncheck:  skip warning when .OLD backup files are found

Modified:
  trunk/scripts/inncheck.in

-------------+
 inncheck.in |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: inncheck.in
===================================================================
--- inncheck.in	2012-06-12 18:31:59 UTC (rev 9417)
+++ inncheck.in	2012-06-12 20:43:21 UTC (rev 9418)
@@ -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