-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
This commit is contained in:
jbjohnso 2009-03-17 01:00:58 +00:00
parent 8035013447
commit c215a9141e

View File

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