summaryrefslogtreecommitdiffstats
path: root/release
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1999-12-29 01:49:11 +0000
committerjkh <jkh@FreeBSD.org>1999-12-29 01:49:11 +0000
commit1a4e8a1971b2161b7fd02709e847a36ef43f07ec (patch)
tree136c25cceabefb164571dd4cdb770b74682ad3ce /release
parentf3ef7b4ecf541b8c073dd4fe43b510b0132b5782 (diff)
downloadFreeBSD-src-1a4e8a1971b2161b7fd02709e847a36ef43f07ec.zip
FreeBSD-src-1a4e8a1971b2161b7fd02709e847a36ef43f07ec.tar.gz
Only print "couldn't install distributions" popup if any
actual distributions were found to go along with the residual mask value.
Diffstat (limited to 'release')
-rw-r--r--release/sysinstall/dist.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/release/sysinstall/dist.c b/release/sysinstall/dist.c
index dc70a87..cfa651f 100644
--- a/release/sysinstall/dist.c
+++ b/release/sysinstall/dist.c
@@ -893,9 +893,11 @@ distExtractAll(dialogMenuItem *self)
dialog_clear_norefresh();
printSelected(buf, Dists, DistTable, &col);
dialog_clear_norefresh();
- msgConfirm("Couldn't extract the following distributions. This may\n"
- "be because they were not available on the installation\n"
- "media you've chosen:\n\n\t%s", buf);
+ if (col) {
+ msgConfirm("Couldn't extract the following distributions. This may\n"
+ "be because they were not available on the installation\n"
+ "media you've chosen:\n\n\t%s", buf);
+ }
}
restorescr(w);
return status;
OpenPOWER on IntegriCloud