braino in age computation
This commit is contained in:
parent
f61d63d059
commit
a5601bd7fa
@ -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