mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-18 03:01:26 +00:00
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>
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2952 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -1405,9 +1405,8 @@ sub writeConfiguration {
|
||||
}
|
||||
}
|
||||
|
||||
$group_buff .= " {\n";
|
||||
if ($lun_buff || $init_buff) {
|
||||
$group_buff .= " {\n";
|
||||
|
||||
if ($lun_buff) {
|
||||
$group_buff .= $lun_buff;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user