From c52d9e4173eee36f366667247f8fa08029ca82b3 Mon Sep 17 00:00:00 2001 From: zhaoertao Date: Wed, 23 Jan 2013 09:29:57 +0000 Subject: [PATCH] fix bug 3119:rvitals returns error when using more than 7 nodes at a time git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@14961 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/FSPvitals.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/perl-xCAT/xCAT/FSPvitals.pm b/perl-xCAT/xCAT/FSPvitals.pm index 1cb36bac6..6c8335cae 100644 --- a/perl-xCAT/xCAT/FSPvitals.pm +++ b/perl-xCAT/xCAT/FSPvitals.pm @@ -116,6 +116,9 @@ sub enumerate_lcds { } else { my @array = split(/\n/, $data); foreach my $a (@array) { + if ($a !~ /:\s*\d/) { + next; + } my @t = split(/:/, $a); my $name = $t[0]; $data = $t[1];