From f3e16ec5846eb6a2ba1258cf7af125eac9f7042a Mon Sep 17 00:00:00 2001
From: wanghuaz <wanghuaz@8638fb3e-16cb-4fca-ae20-7b5d299a9bcd>
Date: Thu, 12 Aug 2010 09:22:12 +0000
Subject: [PATCH] fixed defect 3039322, rvitals returned error.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7066 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
---
 perl-xCAT/xCAT/PPCvitals.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/perl-xCAT/xCAT/PPCvitals.pm b/perl-xCAT/xCAT/PPCvitals.pm
index b6b21c9b5..2bb857447 100644
--- a/perl-xCAT/xCAT/PPCvitals.pm
+++ b/perl-xCAT/xCAT/PPCvitals.pm
@@ -115,7 +115,7 @@ sub enumerate_temp {
     ####################################
     # Expect error
     ####################################
-    if ( $Rc == EXPECT_ERROR ) {
+    if ( $Rc == EXPECT_ERROR || $Rc == RC_ERROR ) {
         return( [$Rc,@$cages[0]] );
     }
     ####################################