Heuzef 5 years ago
parent ea7be3ccb2
commit 1349fd998e
  1. 2
      Check.pm

@ -51,7 +51,7 @@ sub action
} }
# Age # Age
my $lastBackup = ( $bpc[-1]->{type} =~ m/^full|incr$/ ) ? -1 : -2; my $lastBackup = ( @Backups[-1]->{type} =~ m/^full|incr$/ ) ? -1 : -2;
$lastAge = sprintf("%.1f", (time - $lastBackup{startTime}) / (24 * 3600)); $lastAge = sprintf("%.1f", (time - $lastBackup{startTime}) / (24 * 3600));
# Color for age # Color for age

Loading…
Cancel
Save