summaryrefslogtreecommitdiff
path: root/src/skaembutils/s6-tail.c
diff options
context:
space:
mode:
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) ;