If no distribution file is found, abort the installation. Previous

behavior silently ignored the problem. This affects installations
from a filesystem, and possible other types of media.

Approved by:	jkh
This commit is contained in:
dcs 2000-02-17 17:59:41 +00:00
parent ee850bda70
commit a6230d59e4
2 changed files with 8 additions and 4 deletions

View File

@ -700,8 +700,10 @@ distExtract(char *parent, Distribution *me)
fclose(fp);
goto done;
}
else
numchunks = 0;
else {
status = FALSE;
goto done;
}
}
/* Fall through from "we got the attribute file, now get the pieces" step */

View File

@ -700,8 +700,10 @@ distExtract(char *parent, Distribution *me)
fclose(fp);
goto done;
}
else
numchunks = 0;
else {
status = FALSE;
goto done;
}
}
/* Fall through from "we got the attribute file, now get the pieces" step */