Clean up output if --progress active and bogon file encountered
authorZygo Blaxell <zblaxell@waya.furryterror.org>
Sat, 9 Jan 2010 04:20:39 +0000 (23:20 -0500)
committerZygo Blaxell <zblaxell@waya.furryterror.org>
Sat, 9 Jan 2010 04:20:39 +0000 (23:20 -0500)
faster-dupemerge

index 683ed32917c6a72d8e15b52fc1e5aadc518b2b95..714d47404d193cdbbf8480e84cb68c00e6ea8d9b 100755 (executable)
@@ -355,6 +355,7 @@ hash_file:
                foreach my $filename (sort keys(%{$inode_to_file_name{$candidate}})) {
                        print STDERR "\t\tDigesting file $filename\n" if $debug;
                        if ((-l $filename) || ! -f _) {
+                               print STDERR "\n" if $progress;
                                warn "Bogon file " . tick_quote($filename);
                                $input_bogons++;
                                delete $inode_to_file_name{$candidate}->{$filename};