diff options
author | dcs <dcs@FreeBSD.org> | 2000-02-17 17:59:41 +0000 |
---|---|---|
committer | dcs <dcs@FreeBSD.org> | 2000-02-17 17:59:41 +0000 |
commit | d7cc86703addd25740b7f34e29d45ffdfa11947c (patch) | |
tree | 4376ae40ce87217cecc34ef67d07082a292a14e0 /usr.sbin | |
parent | 3443796a040f6ad790564bd17802aef17cf22842 (diff) | |
download | FreeBSD-src-d7cc86703addd25740b7f34e29d45ffdfa11947c.zip FreeBSD-src-d7cc86703addd25740b7f34e29d45ffdfa11947c.tar.gz |
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
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/sysinstall/dist.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.sbin/sysinstall/dist.c b/usr.sbin/sysinstall/dist.c index f54a2de..85b64ac 100644 --- a/usr.sbin/sysinstall/dist.c +++ b/usr.sbin/sysinstall/dist.c @@ -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 */ |