mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-08-09 21:10:15 +00:00
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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user