Fix problem where rvitals fails to gracefully handle situations like timeout on a sensor read

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13810 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2012-09-15 00:57:52 +00:00
parent 95fbd48c1e
commit 8f1fd066e2

View File

@ -4448,6 +4448,7 @@ sub sensor_was_read {
my $sessdata = shift;
if ($rsp->{error}) {
xCAT::SvrUtils::sendmsg([1,$rsp->{error}],$callback,$sessdata->{node},%allerrornodes);
return;
}
if ($rsp->{code}) {
my $text = $codes{$rsp->{code}};