mirror of
https://github.com/thomas-krenn/check_lsi_raid.git
synced 2026-02-21 11:18:41 +01:00
Merge pull request #12 from anthonyhaussman/master
Change regex for check_lsi_raid (Failure 46)
This commit is contained in:
@@ -195,7 +195,7 @@ sub checkCommandStatus{
|
||||
if($line eq "Status = Success\n"){
|
||||
return 1;
|
||||
}
|
||||
elsif (grep { /Failure\s+46/i } @output){
|
||||
elsif (grep { /Fail(ed|ure)\s+46/i } @output){
|
||||
# Return 46 means a drive is not attached, this is a valid failure
|
||||
return 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user