From be21bc6ff8c2b7b9978bb05bb89cb5fc9b73ea7b Mon Sep 17 00:00:00 2001 From: "Peter J. Holzer" Date: Thu, 15 Sep 2016 12:26:03 +0200 Subject: [PATCH] Tolerate vanishing files --- agestat/agestat.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/agestat/agestat.pl b/agestat/agestat.pl index 6065df2..f328fd5 100755 --- a/agestat/agestat.pl +++ b/agestat/agestat.pl @@ -58,6 +58,7 @@ my @hist; sub wanted { my $st = lstat($_); + return unless $st; my $age = $now - ( $opts{atime} ? $st->atime : $opts{mtime} ? $st->mtime :