summaryrefslogtreecommitdiff
path: root/sal/osl/unx/pipe.c
diff options
context:
space:
mode:
Diffstat (limited to 'sal/osl/unx/pipe.c')
-rw-r--r--sal/osl/unx/pipe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/osl/unx/pipe.c b/sal/osl/unx/pipe.c
index ede4cd7e074f..069ea9990951 100644
--- a/sal/osl/unx/pipe.c
+++ b/sal/osl/unx/pipe.c
@@ -486,7 +486,7 @@ sal_Int32 SAL_CALL osl_receivePipe(oslPipe pPipe,
(sal_Char*)pBuffer,
BytesToRead, 0);
- if ( nRet <= 0 )
+ if ( nRet < 0 )
{
OSL_TRACE("osl_receivePipe failed : %i '%s'",nRet,strerror(errno));
}