Add debug for when get_file_blocks fails

This commit is contained in:
Steve McIntyre 2007-01-22 23:06:30 +00:00
parent f245fa4115
commit 06efc9c4d7
1 changed files with 1 additions and 1 deletions

View File

@ -283,7 +283,7 @@ sub remove_md5_entry {
sub get_file_blocks {
my $realfile = shift;
my $st;
$st = stat($realfile);
$st = stat($realfile) or die "unable to stat file $realfile: $!\n";
return size_in_blocks($st->size);
}