Try modif condition

master
Heuzef 5 years ago
parent 2eddf56282
commit 933089ff07
  1. 5
      Check.pm

@ -104,8 +104,6 @@ sub action
# Using a mathematical formula to calculate the consistency of the average size, for new files, on all backups
my $toobig = 0;
my $toosmall = 0;
my $sizeConsistencyColor = "Tomato";
my $sizeConsistency = "<strong>ANOMALOUS</strong>";
# There are enough backup ?
if ( $idBackup < 4 ) {
@ -127,6 +125,9 @@ sub action
if ( not $toobig and not $toosmall ) {
$sizeConsistencyColor = "MediumSeaGreen";
$sizeConsistency = "Normal";
} else {
my $sizeConsistencyColor = "Tomato";
my $sizeConsistency = "<strong>ANOMALOUS</strong>";
}
}

Loading…
Cancel
Save