summaryrefslogtreecommitdiff
path: root/src/skaembutils/s6-tail.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2017-08-22 15:48:16 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2017-08-22 15:48:16 +0000
commit6062586370a5a083386a8ed8e3533671c89abd73 (patch)
tree621fdc90c7842aff9b2f6935fcca3b875f891a79 /src/skaembutils/s6-tail.c
parent9f808a8c646f27ff3ca5b80d24534c0587fab559 (diff)
downloads6-portable-utils-6062586370a5a083386a8ed8e3533671c89abd73.tar.xz
Convert to xpathexec ; prepare for 2.2.1.1
Diffstat (limited to 'src/skaembutils/s6-tail.c')
-rw-r--r--src/skaembutils/s6-tail.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/skaembutils/s6-tail.c b/src/skaembutils/s6-tail.c
index 479f950..7023505 100644
--- a/src/skaembutils/s6-tail.c
+++ b/src/skaembutils/s6-tail.c
@@ -56,9 +56,7 @@ static int pluschars (int fd, size_t n)
if (nil < 0) return 0 ;
if (!fd_catn(fd, nil, n))
{
- int e = errno ;
fd_close(nil) ;
- errno = e ;
return 0 ;
}
fd_close(nil) ;