braino in age computation

This commit is contained in:
Dag-Erling Smørgrav 2003-11-12 08:32:34 +00:00
parent f61d63d059
commit a5601bd7fa

View File

@ -121,7 +121,7 @@ MAIN:{
if (-f "$DIR/$log.brief") {
my @stat = stat("$DIR/$log.brief");
my $class = success("$DIR/$log.brief") ? "ok" : "fail";
my $age = int($now - $stat[9] / 7200);
my $age = int(($now - $stat[9]) / 7200);
$age = 9
if ($age > 9);
$class .= "-$age";