summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/App/Hashl.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/App/Hashl.pm b/lib/App/Hashl.pm
index 0ffe884..f95653a 100644
--- a/lib/App/Hashl.pm
+++ b/lib/App/Hashl.pm
@@ -239,7 +239,7 @@ sub add_file {
}
$self->{files}->{$file} = {
- hash => $self->hash_file($file),
+ hash => $self->hash_file($path),
mtime => $mtime,
size => $size,
};