Package: tcp-wrappers / 7.6.q-28

ignore_missing_inetdconf Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
--- a/inetcf.c
+++ b/inetcf.c
@@ -90,9 +90,7 @@ char   *conf;
 	for (i = 0; inet_files[i] && (fp = fopen(inet_files[i], "r")) == 0; i++)
 	     /* void */ ;
 	if (fp == 0) {
-	    fprintf(stderr, "Cannot find your inetd.conf or tlid.conf file.\n");
-	    fprintf(stderr, "Please specify its location.\n");
-	    exit(1);
+	    return inet_files[i];
 	}
 	conf = inet_files[i];
 	check_path(conf, &st);