summaryrefslogtreecommitdiff
path: root/src/conn-tools/s6-tcpserver6.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/conn-tools/s6-tcpserver6.c')
-rw-r--r--src/conn-tools/s6-tcpserver6.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conn-tools/s6-tcpserver6.c b/src/conn-tools/s6-tcpserver6.c
index 624bc99..cbfbf2a 100644
--- a/src/conn-tools/s6-tcpserver6.c
+++ b/src/conn-tools/s6-tcpserver6.c
@@ -361,7 +361,7 @@ int main (int argc, char const *const *argv, char const *const *envp)
char fmt[UINT16_FMT] ;
unsigned int n = uint16_fmt(fmt, port) ;
fmt[n++] = '\n' ;
- if (allwrite(1, fmt, n) < n) strerr_diefu1sys(111, "write to stdout") ;
+ allwrite(1, fmt, n) ;
fd_close(1) ;
}
fmtlocalmaxconn[1+uint_fmt(fmtlocalmaxconn+1, localmaxconn)] = 0 ;