mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-14 09:11:27 +00:00
scstadmin: Revert r7014
The immediateExit() call introduced in r7014 prevents to assign multiple values to attributes that support multiple values, e.g. 'allowed_portal'. Hence revert r7014. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7092 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -5762,8 +5762,6 @@ sub configToAttr {
|
||||
if (!scalar keys %{$$config{$attr}}) {
|
||||
$attributes{$attr} = '';
|
||||
} elsif ((keys %{$$config{$attr}}) > 1) {
|
||||
immediateExit("Invalid configuration encountered. ".
|
||||
"Attribute '$attr' has multiple values.");
|
||||
foreach my $value (keys %{$$config{$attr}}) {
|
||||
push @{$attributes{$attr}}, $value;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user