From 3c798313b98873f2f78f46f3e611b8b52c2d8e96 Mon Sep 17 00:00:00 2001 From: Andreas Romeyke <art1@andreas-romeyke.de> Date: Fri, 16 Oct 2020 13:04:00 +0200 Subject: [PATCH] - minor fix progress output --- deep_fixitycheck.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deep_fixitycheck.pl b/deep_fixitycheck.pl index b7089bd..20f7ab7 100644 --- a/deep_fixitycheck.pl +++ b/deep_fixitycheck.pl @@ -77,7 +77,7 @@ sub searching_ie_files ($$) { $relpath =~ s{^\Q$dir\E/?}{}; my $depth = File::Spec->splitdir($relpath); if ($depth <= 2) { - print $progressbar->report("find IE files: %40b running: %L ETA: %E (count=$dircount)\r", ++$dircount); + print $progressbar->report("find IE files: %40b running: %L ETA: %E (count=$dircount) \r", ++$dircount); } } return; @@ -352,7 +352,7 @@ if (defined $search_dir && -d "$search_dir") { while ( <$fh_unsorted_file>) { # scan each IE $stat->{IEs}++; chomp; - print $progressbar->report("parse IE files: %40b running: %L ETA: %E (count=$count) \r", ++$count); + print $progressbar->report("parse IE files: %40b running: %L ETA: %E (count=$count) \r", ++$count); my $ret = parse_iexml( $_, $recovery); foreach my $fileobj (@{ $ret->{files} }) { $fileobj->{file_mounted} = map_file($map_path, $fileobj->{filepath}); -- GitLab