From c215a9141e5336a1c0152895c905d97211261656 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Tue, 17 Mar 2009 01:00:58 +0000 Subject: [PATCH] -Fix bug where last line of conserver.cf was not checked to be skipped if appropriate git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2919 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 517e37bfe..a716ce43f 100644 --- a/xCAT-server/lib/xcat/plugins/conserver.pm +++ b/xCAT-server/lib/xcat/plugins/conserver.pm @@ -405,7 +405,7 @@ sub donodeent { my $isSN=xCAT::Utils->isServiceNode(); - while ($idx < $#$content) { # Go through and delete that which would match my entry + while ($idx <= $#$content) { # Go through and delete that which would match my entry if ($content->[$idx] =~ /^#xCAT BEGIN $node CONS/) { $toidx=$idx; #TODO put it back right where I found it $skip = 1;