Fixed a bug that could cause scstadmin -write_config to generate an invalid

configuration file, e.g.
...
               GROUP a         }
...

Reported-by: Frank Zago <fzago@systemfabricworks.com>

(Merged r2952 from the trunk.)


git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.0.0.x@2953 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2010-12-07 09:38:23 +00:00
parent e6fb3b2a1d
commit 99e1368490
+1 -2
View File
@@ -1405,9 +1405,8 @@ sub writeConfiguration {
}
}
$group_buff .= " {\n";
if ($lun_buff || $init_buff) {
$group_buff .= " {\n";
if ($lun_buff) {
$group_buff .= $lun_buff;
}