From 088ec995dfa2fce23a41154ee5872010d06be497 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Georg=20Sch=C3=B6nberger?= Date: Mon, 6 Oct 2014 10:57:19 +0200 Subject: [PATCH] Fix call to adpallinfo --- check_lsi_raid | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/check_lsi_raid b/check_lsi_raid index 0906af9..a514de2 100755 --- a/check_lsi_raid +++ b/check_lsi_raid @@ -209,8 +209,8 @@ sub getControllerInfo{ my $commands_a = shift; my $command = ''; - my $storcliPath =~ /^(.*)\/c[0-9]+/; - $command = $storcliPath.'adpallinfo a'.$CONTROLLER; + $storcli =~ /^(.*)\/c[0-9]+/; + $command = $1.'adpallinfo a'.$CONTROLLER; push $commands_a, $command; my @output = `$command`; if($? >> 8 != 0){