From f5176b9e3fd26dec8e699984921b0f1397b83e17 Mon Sep 17 00:00:00 2001 From: claudio Date: Thu, 21 Mar 2024 10:58:15 +0000 Subject: [PATCH] Do not exit the master process if a client TCP connection fails to be added. OK millert@ --- sbin/nfsd/nfsd.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sbin/nfsd/nfsd.c b/sbin/nfsd/nfsd.c index 7a53d4f6ce2..06f614695a4 100644 --- a/sbin/nfsd/nfsd.c +++ b/sbin/nfsd/nfsd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nfsd.c,v 1.41 2023/03/08 04:43:06 guenther Exp $ */ +/* $OpenBSD: nfsd.c,v 1.42 2024/03/21 10:58:15 claudio Exp $ */ /* $NetBSD: nfsd.c,v 1.19 1996/02/18 23:18:56 mycroft Exp $ */ /* @@ -292,7 +292,6 @@ main(int argc, char *argv[]) syslog(LOG_ERR, "poll failed: %s", strerror(errno)); return (1); } - } if (tcpflag) { @@ -315,7 +314,6 @@ main(int argc, char *argv[]) nfsdargs.namelen = sizeof(inetpeer); if (nfssvc(NFSSVC_ADDSOCK, &nfsdargs) == -1) { syslog(LOG_ERR, "can't Add TCP socket"); - return (1); } (void)close(msgsock); } -- 2.20.1