From 5fb623ce6edd9ecf77d2c4e092c1fb8a7724d423 Mon Sep 17 00:00:00 2001 From: daniceexi Date: Wed, 5 May 2010 08:15:47 +0000 Subject: [PATCH] get the error message from cim client tool xCAT_cim_client git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5969 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/PPCenergy.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/perl-xCAT/xCAT/PPCenergy.pm b/perl-xCAT/xCAT/PPCenergy.pm index df62c60d7..472597bb6 100644 --- a/perl-xCAT/xCAT/PPCenergy.pm +++ b/perl-xCAT/xCAT/PPCenergy.pm @@ -246,6 +246,7 @@ sub renergy { $SIG{CHLD} = (); # Call the xCAT_cim_client to query or set the energy capabilities + $cmd .= " 2>&1"; my @result = xCAT::Utils->runcmd("$cmd", -1); foreach my $line (@result) {