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; }