From d7cc86703addd25740b7f34e29d45ffdfa11947c Mon Sep 17 00:00:00 2001 From: dcs Date: Thu, 17 Feb 2000 17:59:41 +0000 Subject: 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 --- release/sysinstall/dist.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'release/sysinstall') diff --git a/release/sysinstall/dist.c b/release/sysinstall/dist.c index f54a2de..85b64ac 100644 --- a/release/sysinstall/dist.c +++ b/release/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 */ -- cgit v1.1