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:
parent
7fd861742e
commit
40a65cc564
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user