Push complete command to verbose array

This commit is contained in:
Georg Schönberger
2014-10-06 13:21:05 +02:00
parent 55541e72a2
commit 547d39cd88

View File

@@ -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)) {