braino in age computation
This commit is contained in:
parent
3e53bd520c
commit
81cd8b6875
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user