mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-16 10:20:30 +00:00
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:
parent
8f7cefb3be
commit
2bfaac9755
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=57293
@ -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 */
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user