ignore_missing_inetdconf

Gbp-Pq: Name ignore_missing_inetdconf
This commit is contained in:
Marco d'Itri 2022-05-14 02:57:49 +08:00 committed by openKylinBot
parent ce8690fd51
commit bb0ea742f1
1 changed files with 1 additions and 3 deletions

View File

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