diff options
author | jkh <jkh@FreeBSD.org> | 1999-12-29 01:49:11 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1999-12-29 01:49:11 +0000 |
commit | 1a4e8a1971b2161b7fd02709e847a36ef43f07ec (patch) | |
tree | 136c25cceabefb164571dd4cdb770b74682ad3ce /usr.sbin/sysinstall/dist.c | |
parent | f3ef7b4ecf541b8c073dd4fe43b510b0132b5782 (diff) | |
download | FreeBSD-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 'usr.sbin/sysinstall/dist.c')
-rw-r--r-- | usr.sbin/sysinstall/dist.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/usr.sbin/sysinstall/dist.c b/usr.sbin/sysinstall/dist.c index dc70a87..cfa651f 100644 --- a/usr.sbin/sysinstall/dist.c +++ b/usr.sbin/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; |