mirror of
https://github.com/thomas-krenn/check_lsi_raid.git
synced 2026-10-28 10:31:34 +01:00
Fix duplicate printing of part brackets
This commit is contained in:
1 parent
8616d124b1
commit
55541e72a2
1 file changed
+3
-3
+3
-3
@@ -971,10 +971,10 @@ sub getStatusString{
|
||||
}
|
||||
}
|
||||
}
|
||||
$status_str.= '(';
|
||||
$status_str .= $parts unless !defined($parts);
|
||||
$status_str.= ')';
|
||||
}
|
||||
$status_str.= '(';
|
||||
$status_str .= $parts unless !defined($parts);
|
||||
$status_str.= ')';
|
||||
$status_str.= ' ' unless !(@sensors_a);
|
||||
if($level eq "Warning" || $level eq "Critical"){
|
||||
if(@sensors_a){
|
||||
|
||||
Reference in new issue
Block a user