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
This commit is contained in:
daniceexi 2010-05-05 08:15:47 +00:00
parent 9c9feda909
commit 5fb623ce6e

View File

@ -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) {