Let tcpd retry on errors.

This commit is contained in:
Ben Gras 2006-03-15 13:59:13 +00:00
parent 50d805144c
commit 36fa006cec

View file

@ -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;
}