Try another way

master
Heuzef 5 years ago
parent c422a8016a
commit 7d5aecf2b3
  1. 12
      Check.pm

@ -119,17 +119,15 @@ sub action
}
# Get result
if ( not $toobig and not $toosmall ) {
if ( not $idBackup > 4) {
$sizeConsistencyColor = "Gray";
$sizeConsistency = "Not enough backups";
}
else ( not $toobig and not $toosmall and not $idBackup < 4) {
$sizeConsistencyColor = "MediumSeaGreen";
$sizeConsistency = "Normal";
}
# There are enough backup ?
if ( $idBackup == 0 ) {
my $sizeConsistencyColor = "Gray";
my $sizeConsistency = "<em>Not enough backups</em>";
}
# Get URL for explore file
my $browseFile = "?action=browse&host=$host";

Loading…
Cancel
Save