From: Ben Gras Date: Wed, 15 Mar 2006 13:59:13 +0000 (+0000) Subject: Let tcpd retry on errors. X-Git-Tag: v3.1.2a~230 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/man.dnssec-dsfromkey.html?a=commitdiff_plain;h=36fa006cec0e32b4b2b593be6bc5db823bfb6702;p=minix.git Let tcpd retry on errors. --- diff --git a/commands/simple/tcpd.c b/commands/simple/tcpd.c index f66964eae..b98afb825 100755 --- a/commands/simple/tcpd.c +++ b/commands/simple/tcpd.c @@ -173,10 +173,12 @@ int main(int argc, char **argv) while (1) { if ((tcp_fd= open(tcp_device, O_RDWR)) < 0) { report(tcp_device); +#if 0 if (errno == ENOENT || errno == ENODEV || errno == ENXIO) { exit(1); } +#endif goto bad; }