From: <bva...@us...> - 2010-12-07 09:35:25
|
Revision: 2952 http://scst.svn.sourceforge.net/scst/?rev=2952&view=rev Author: bvassche Date: 2010-12-07 09:35:18 +0000 (Tue, 07 Dec 2010) Log Message: ----------- Fixed a bug that could cause scstadmin -write_config to generate an invalid configuration file, e.g. ... GROUP a } ... Reported-by: Frank Zago <fz...@sy...> Modified Paths: -------------- trunk/scstadmin/scstadmin.sysfs/scstadmin Modified: trunk/scstadmin/scstadmin.sysfs/scstadmin =================================================================== --- trunk/scstadmin/scstadmin.sysfs/scstadmin 2010-12-07 09:25:23 UTC (rev 2951) +++ trunk/scstadmin/scstadmin.sysfs/scstadmin 2010-12-07 09:35:18 UTC (rev 2952) @@ -1405,9 +1405,8 @@ } } + $group_buff .= " {\n"; if ($lun_buff || $init_buff) { - $group_buff .= " {\n"; - if ($lun_buff) { $group_buff .= $lun_buff; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |