mirror of
https://github.com/thomas-krenn/check_lsi_raid.git
synced 2026-02-27 06:08:40 +01:00
Fix printing storcli version
This commit is contained in:
9
.gitattributes
vendored
9
.gitattributes
vendored
@@ -1,9 +0,0 @@
|
||||
# .gitattributes
|
||||
# Map file extensions to git filters
|
||||
|
||||
*.h filter=rcs-keywords
|
||||
*.c filter=rcs-keywords
|
||||
*.cc filter=rcs-keywords
|
||||
*.m filter=rcs-keywords
|
||||
*.mm filter=rcs-keywords
|
||||
check_lsi_raid filter=rcs-keywords
|
||||
@@ -1,3 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<includepath />
|
||||
|
||||
@@ -169,7 +169,7 @@ sub displayVersion {
|
||||
if(defined($storcli)){
|
||||
my @storcliVersion = `$storcli -v`;
|
||||
foreach my $line (@storcliVersion){
|
||||
if($line =~ /^\s*Storage/) {
|
||||
if($line =~ /^\s+StorCli.*/) {
|
||||
$line =~ s/^\s+|\s+$//g;
|
||||
print $line;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user