diff --git a/waste/waste.pl b/waste/waste.pl index 0a335da..9c2fabb 100755 --- a/waste/waste.pl +++ b/waste/waste.pl @@ -35,7 +35,7 @@ sub waste { $filename = $dir . "/" . $i; ($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size, $atime,$mtime,$ctime,$blksize,$blocks) = - stat($filename); + lstat($filename); if (-d _) { ($size, $mtime, $atime) = waste($filename);