From 0bd632e1610463714fc1dfff0bd94380c1e83c09 Mon Sep 17 00:00:00 2001 From: jjhua Date: Thu, 19 May 2011 03:25:55 +0000 Subject: [PATCH] the defautl message of rackenv is longer than before, so enhance it git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9633 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/FSPvitals.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/perl-xCAT/xCAT/FSPvitals.pm b/perl-xCAT/xCAT/FSPvitals.pm index 2a2ee62ea..13c06e8c0 100644 --- a/perl-xCAT/xCAT/FSPvitals.pm +++ b/perl-xCAT/xCAT/FSPvitals.pm @@ -315,7 +315,8 @@ sub rackenv { foreach my $td ( @t ) { push @result, [$name,$td, $Rc]; if ( !exists($request->{verbose}) ) { - if( $td =~ /^Rack altitude in meters/ ) { + #if( $td =~ /^Rack altitude in meters/ ) { + if( $td =~ /^BPA-B total output in watts/ ) { last; } }