From 33f48b770a28442cdc03efa950414972f1716af8 Mon Sep 17 00:00:00 2001 From: Heuzef Date: Fri, 25 Oct 2019 17:12:11 +0200 Subject: [PATCH] Remove dead code --- Check.pm | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Check.pm b/Check.pm index ae6e652..0089579 100644 --- a/Check.pm +++ b/Check.pm @@ -73,11 +73,6 @@ sub action $reasonHilite = $Conf{CgiStatusHilightColor}{$Status{$host}{reason}} || $Conf{CgiStatusHilightColor}{$Status{$host}{state}}; $reasonHilite = " bgcolor=\"$reasonHilite\"" if ( $reasonHilite ne "" ); - if ( $tempState ne "Status_backup_in_progress" && $tempState ne "Status_restore_in_progress" && $Conf{BackupsDisable} == 0 && $Status{$host}{error} ne "" ) { - ($shortErr = $Status{$host}{error}) =~ s/(.{48}).*/$1.../; - $shortErr = " ($shortErr)"; - } - # Check Size Consistency my $new_size = 0; my $new_size_avg = 0;