braino in age computation

This commit is contained in:
des 2003-11-12 08:32:34 +00:00
parent 3e53bd520c
commit 81cd8b6875

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