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