fix bug 3382:"rvitals cec lcds" no output

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@15240 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
zhaoertao 2013-02-22 09:17:27 +00:00
parent db9f372318
commit 2fc43ee369

View File

@ -116,7 +116,7 @@ sub enumerate_lcds {
} else {
my @array = split(/\n/, $data);
foreach my $a (@array) {
if ($a !~ /:\s*\d/) {
if ($a !~ /:\s?[^\s]*\s?[0|1]/) {
next;
}
my @t = split(/:/, $a);