From b5e07ec12788ccfa6cd72c8a9d85308af063ae57 Mon Sep 17 00:00:00 2001 From: Heuzef Date: Fri, 11 Oct 2019 14:31:35 +0200 Subject: [PATCH] Remove counter --- Check.pm | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/Check.pm b/Check.pm index ad33c2c..794faaf 100644 --- a/Check.pm +++ b/Check.pm @@ -26,7 +26,7 @@ use Statistics::Descriptive; sub action { # Init - my($str, $strNone, $strGood, $header); + my($str, $strGood, $header); GetStatusInfo("hosts info"); my $Privileged = CheckPermission(); @@ -199,12 +199,7 @@ sub action Explore files ... EOF - # Increment counter - if ( @Backups == 0 ) { - $strNone .= $str; - } else { - $strGood .= $str; - } + $strGood .= $str; } # End loop