Skip to content
Snippets Groups Projects
Commit a2f027d1 authored by deuce's avatar deuce
Browse files

Does not exit when the dist list cannot be fetched unless there is no local

distrubution file set.
parent 3ebdacee
No related branches found
No related tags found
No related merge requests found
......@@ -560,19 +560,8 @@ get_distlist(void)
DIST_LIST_URL2,ftpErrString(ret1),
DIST_LIST_URL3,ftpErrString(ret1),
DIST_LIST_URL4,ftpErrString(ret1));
exit(EXIT_FAILURE);
strcpy(file[f],DEFAULT_DISTFILE);
for(j=0,i=2;in_line[i];i++) {
if(in_line[i]=='%' && in_line[i+1]=='s') {
file[f][j]=0;
strcat(file[f],sys_desc);
j=strlen(file[f]);
i++;
}
else
file[f][j++]=in_line[i];
}
f++;
if(r==0)
exit(EXIT_FAILURE);
}
while((list->gets(in_line,sizeof(in_line),list))!=NULL) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment