Remove all hostCnt

master
Heuzef 5 years ago
parent adc920e605
commit 54b04767b7
  1. 4
      Check.pm

@ -26,9 +26,8 @@ use Statistics::Descriptive;
sub action sub action
{ {
# Init # Init
my($str, $strNone, $strGood, $hostCntGood, $hostCntNone, $frequency, $header); my($str, $strNone, $strGood, $frequency, $header);
$hostCntGood = $hostCntNone = 0;
GetStatusInfo("hosts info"); GetStatusInfo("hosts info");
my $Privileged = CheckPermission(); my $Privileged = CheckPermission();
@ -216,7 +215,6 @@ EOF
if ( @Backups == 0 ) { if ( @Backups == 0 ) {
$strNone .= $str; $strNone .= $str;
} else { } else {
$hostCntGood++;
$strGood .= $str; $strGood .= $str;
} }
} }

Loading…
Cancel
Save