Declare $frequency in loop

master
Heuzef 5 years ago
parent 54b04767b7
commit 513b65f432
  1. 5
      Check.pm

@ -26,15 +26,14 @@ use Statistics::Descriptive;
sub action sub action
{ {
# Init # Init
my($str, $strNone, $strGood, $frequency, $header); my($str, $strNone, $strGood, $header);
GetStatusInfo("hosts info"); GetStatusInfo("hosts info");
my $Privileged = CheckPermission(); my $Privileged = CheckPermission();
# Start loop # Start loop
foreach my $host ( GetUserHosts(1) ) { foreach my $host ( GetUserHosts(1) ) {
my($incrCnt, $incrAge, $reasonHilite, my($incrCnt, $incrAge, $reasonHilite, $frequency, $lastAge, $lastAgeColor, $tempState, $tempReason, $lastXferErrors, $lastXferErrorsColor);
$lastAge, $lastAgeColor, $tempState, $tempReason, $lastXferErrors, $lastXferErrorsColor);
my($shortErr); my($shortErr);
my $bpc = BackupPC::Lib->new(); my $bpc = BackupPC::Lib->new();
my @Backups = $bpc->BackupInfoRead($host); my @Backups = $bpc->BackupInfoRead($host);

Loading…
Cancel
Save