From 54b04767b7e0bdc704ffbdd3a2424ec14c044d95 Mon Sep 17 00:00:00 2001 From: Heuzef Date: Fri, 11 Oct 2019 13:58:51 +0200 Subject: [PATCH] Remove all hostCnt --- Check.pm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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; } }