scstadmin: Fix -attributes behavior for multiple attributes

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6734 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2015-12-11 18:34:39 +00:00
parent 094a6be70d
commit 749c8a3e75

View File

@@ -2224,7 +2224,7 @@ sub addLun {
my $o_string = "";
foreach my $attribute (keys %{$attributes}) {
my $value = $$attributes{$attribute};
$o_string .= "$attribute=$value; ";
$o_string .= "$attribute=$value;";
}
$o_string =~ s/\s$//;
@@ -2415,7 +2415,7 @@ sub replaceLun {
my $o_string = "";
foreach my $attribute (keys %{$attributes}) {
my $value = $$attributes{$attribute};
$o_string .= "$attribute=$value; ";
$o_string .= "$attribute=$value;";
}
$o_string =~ s/\s$//;
@@ -4135,7 +4135,7 @@ sub openDevice {
my $o_string = "";
foreach my $attribute (keys %{$attributes}) {
my $value = $$attributes{$attribute};
$o_string .= "$attribute=$value; ";
$o_string .= "$attribute=$value;";
}
$o_string =~ s/\s$//;