Silly logic bug
authorSteve McIntyre <steve@einval.com>
Fri, 24 Jun 2011 17:26:50 +0000 (18:26 +0100)
committerSteve McIntyre <steve@einval.com>
Fri, 24 Jun 2011 17:26:50 +0000 (18:26 +0100)
mkjigsnap

index 50c976f..1b2b678 100755 (executable)
--- a/mkjigsnap
+++ b/mkjigsnap
@@ -363,9 +363,9 @@ while (@jigdos) {
                 $num_unique++;
                 $ref{$file} = 1;
             }
-        }
-        if ( !($num_unsorted % 100000) ) {
-            print "  found $num_unsorted total, $num_unique unique files\n";
+            if ( !($num_unsorted % 100000) ) {
+                print "  found $num_unsorted total, $num_unique unique files\n";
+            }
         }
     }
     close(INJIG);