-Fix bug where makeconservercf change sought out } too aggressively

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2878 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2009-03-12 11:21:29 +00:00
parent 2ca309fb17
commit 0dc6f9de74

View File

@ -184,7 +184,7 @@ sub docfheaders {
} else {
$idx++;
}
if($content->[$idx] =~ /\}/){
if($skip and $content->[$idx] =~ /\}/){
splice(@$content, $idx, 1);
$skip = 0;
}