mirror of
https://github.com/thomas-krenn/check_lsi_raid.git
synced 2026-03-01 15:18:40 +01:00
Push complete command to verbose array
This commit is contained in:
@@ -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