From 0dc6f9de74b0d7788576c9bd547979ee198bd684 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Thu, 12 Mar 2009 11:21:29 +0000 Subject: [PATCH] -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 --- xCAT-server/lib/xcat/plugins/conserver.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/lib/xcat/plugins/conserver.pm b/xCAT-server/lib/xcat/plugins/conserver.pm index c0b9943c0..d55f7959d 100644 --- a/xCAT-server/lib/xcat/plugins/conserver.pm +++ b/xCAT-server/lib/xcat/plugins/conserver.pm @@ -184,7 +184,7 @@ sub docfheaders { } else { $idx++; } - if($content->[$idx] =~ /\}/){ + if($skip and $content->[$idx] =~ /\}/){ splice(@$content, $idx, 1); $skip = 0; }