Fix problem where xcatd would error on end of stream

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@17022 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2013-07-25 13:27:37 +00:00
parent 7fd861742e
commit 40a65cc564

View File

@ -2024,7 +2024,8 @@ sub get_request {
}
return eval { XMLin($request, SuppressEmpty=>undef,ForceArray=>1) };
} elsif ($encode eq "storable") {
return fd_retrieve($sock);
my $return = eval { fd_retrieve($sock); }; # suppres end of stream err
return $return;
}
}