mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-18 19:21:26 +00:00
scstadmin: Make -write_config write out initiator names in alphabetical order
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3682 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -1290,7 +1290,7 @@ sub writeConfiguration {
|
||||
my $inits = $CURRENT{'assign'}->{$driver}->{$target}->{'GROUP'}->{$group}->{'INITIATORS'};
|
||||
|
||||
my $init_buff;
|
||||
foreach my $init (@{$inits}) {
|
||||
foreach my $init (sort @{$inits}) {
|
||||
$init_buff .= "\n\t\t\tINITIATOR $init";
|
||||
|
||||
my $attributes = $SCST->initiatorAttributes($driver, $target, $group, $init);
|
||||
|
||||
Reference in New Issue
Block a user