mirror of
https://github.com/thomas-krenn/check_lsi_raid.git
synced 2026-02-26 05:38:41 +01:00
Remove unused space after critical
This commit is contained in:
@@ -999,7 +999,12 @@ sub getStatusString{
|
||||
$status_str .= $parts unless !defined($parts);
|
||||
$status_str.= ')';
|
||||
}
|
||||
$status_str.= ' ' unless !(@sensors_a);
|
||||
if($level eq 'Critical'){
|
||||
$status_str.= ' ' unless !(@sensors_a);
|
||||
}
|
||||
if($level eq 'Warning' && !@{$statusLevel_a[2]}){
|
||||
$status_str.= ' ' unless !(@sensors_a);
|
||||
}
|
||||
if($level eq "Warning" || $level eq "Critical"){
|
||||
if(@sensors_a){
|
||||
# Print which sensors are Warn or Crit
|
||||
|
||||
Reference in New Issue
Block a user