summaryrefslogtreecommitdiff
path: root/bin/hashl
diff options
context:
space:
mode:
Diffstat (limited to 'bin/hashl')
-rwxr-xr-xbin/hashl4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/hashl b/bin/hashl
index 979994e..6ae59c4 100755
--- a/bin/hashl
+++ b/bin/hashl
@@ -150,7 +150,7 @@ sub process_file {
if ($show_progress) {
print STDERR $timer->report(
- "\r\e[Scanning directory: %p done, %L elapsed, %E remaining",
+ "\r\e[2KScanning directory: %p done, %L elapsed, %E remaining",
$cur,
);
}
@@ -280,7 +280,7 @@ sub cmd_ignore {
$find_ref = \&db_ignore;
$find_db_write = 1;
- find(\&process_file, $base);
+ find(\&process_file, $ign_dir);
$hashl->save($db_file);
print "\n";
}