mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-18 13:16:34 +00:00
scstadmin: Rearrange addVirtualTarget()
This patch does not change any functionality. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7940 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -3011,10 +3011,11 @@ sub addVirtualTarget {
|
||||
my $driver = shift;
|
||||
my $target = shift;
|
||||
my $attributes = shift;
|
||||
my $errorString;
|
||||
my $targets;
|
||||
|
||||
# Enable all hardware targets before creating virtual ones
|
||||
my ($targets, $errorString) = $SCST->targets($driver);
|
||||
|
||||
($targets, $errorString) = $SCST->targets($driver);
|
||||
foreach my $_target (@{$targets}) {
|
||||
my $attributes;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user