diff options
Diffstat (limited to 'src/libs6/s6_svc_write.c')
-rw-r--r-- | src/libs6/s6_svc_write.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/libs6/s6_svc_write.c b/src/libs6/s6_svc_write.c index ebd8ab0..3ebf3b4 100644 --- a/src/libs6/s6_svc_write.c +++ b/src/libs6/s6_svc_write.c @@ -12,9 +12,7 @@ int s6_svc_write (char const *fifo, char const *data, size_t datalen) else if (ndelay_off(fd) == -1) return -1 ; else if (fd_write(fd, data, datalen) == -1) { - int e = errno ; fd_close(fd) ; - errno = e ; return -1 ; } fd_close(fd) ; |