mirror of
https://github.com/thomas-krenn/check_lsi_raid.git
synced 2026-05-04 05:44:19 +02:00
Push complete command to verbose array
This commit is contained in:
+1
-1
@@ -460,9 +460,9 @@ sub getPhysicalDevices{
|
||||
if(scalar(@physDevices) == 0) { $command .= "/sall"; }
|
||||
elsif(scalar(@physDevices) == 1) { $command .= "/s$physDevices[0]"; }
|
||||
else { $command .= "/s".join(",", @physDevices); }
|
||||
$command .= " show $action";
|
||||
push $commands_a, $command;
|
||||
|
||||
$command .= " show $action";
|
||||
my @output = `$command`;
|
||||
my @foundDevs;
|
||||
if(checkCommandStatus(\@output)) {
|
||||
|
||||
Reference in New Issue
Block a user