From 717ad3c6fcbaee7577c376de50cb3a49fc1fb2e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Georg=20Sch=C3=B6nberger?= Date: Mon, 20 Oct 2014 13:28:05 +0200 Subject: [PATCH] Fix printing storcli version --- .gitattributes | 9 --------- .includepath | 3 --- check_lsi_raid | 2 +- 3 files changed, 1 insertion(+), 13 deletions(-) delete mode 100644 .gitattributes delete mode 100644 .includepath diff --git a/.gitattributes b/.gitattributes deleted file mode 100644 index 8f7910d..0000000 --- a/.gitattributes +++ /dev/null @@ -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 diff --git a/.includepath b/.includepath deleted file mode 100644 index 6dc9943..0000000 --- a/.includepath +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/check_lsi_raid b/check_lsi_raid index 29598aa..a5526aa 100755 --- a/check_lsi_raid +++ b/check_lsi_raid @@ -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; }