braino in age computation

This commit is contained in:
des 2003-11-12 08:32:34 +00:00
parent 0f38b455d2
commit aa731bc983

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";