mirror of
https://github.com/thomas-krenn/check_lsi_raid.git
synced 2025-07-14 03:41:50 +02:00
Removing old clean up logs since only supporting storcli
This commit is contained in:
@ -1369,13 +1369,6 @@ MAIN: {
|
||||
getPDStatus(\@statusLevel_a, $PDInitToCheck);
|
||||
getPDStatus(\@statusLevel_a, $PDRebuildToCheck);
|
||||
|
||||
# If desired, clean up the logs created by storcli
|
||||
# This is done per default
|
||||
if(!defined($noCleanlogs)){
|
||||
if(-f 'MegaSAS.log'){ unlink 'MegaSAS.log'}
|
||||
if(-f 'CmdTool.log'){ unlink 'CmdTool.log'}
|
||||
}
|
||||
|
||||
print ${$statusLevel_a[0]}." ";
|
||||
print getStatusString("Critical",\@statusLevel_a);
|
||||
print getStatusString("Warning",\@statusLevel_a);
|
||||
|
Reference in New Issue
Block a user