loolwsd: log pipe reading errors
Change-Id: I58b78454c74874687fbc216c2dd704b3677ccea1 Reviewed-on: https://gerrit.libreoffice.org/30888 Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> Tested-by: Ashod Nakashian <ashnakash@gmail.com>
This commit is contained in:
parent
0f9bd80ca2
commit
b47550e566
1 changed files with 5 additions and 0 deletions
|
@ -284,6 +284,11 @@ int PipeReader::readLine(std::string& line,
|
|||
else if (ready < 0)
|
||||
{
|
||||
// error.
|
||||
if (errno != EINTR)
|
||||
{
|
||||
LOG_SYS("Pipe polling failed.");
|
||||
}
|
||||
|
||||
return ready;
|
||||
}
|
||||
else if (pipe.revents & (POLLIN | POLLPRI))
|
||||
|
|
Loading…
Reference in a new issue