Fix printing storcli version

This commit is contained in:
Georg Schönberger
2014-10-20 13:28:05 +02:00
parent d82e8050e6
commit 717ad3c6fc
3 changed files with 1 additions and 13 deletions
-9
View File
@@ -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
-3
View File
@@ -1,3 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<includepath />
+1 -1
View File
@@ -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;
}