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