diff options
author | Jordan K. Hubbard <jkh@FreeBSD.org> | 1999-12-29 01:49:11 +0000 |
---|---|---|
committer | Jordan K. Hubbard <jkh@FreeBSD.org> | 1999-12-29 01:49:11 +0000 |
commit | 92a8937368a64806f979f7ef38c9e5ae666179ac (patch) | |
tree | 7f6b86f0d1ff76462bb6d9338ef7baf5d1b07924 /usr.sbin/sysinstall | |
parent | 184a6f3512e3b041a501258aac94fcaa77b2af2b (diff) | |
download | src-92a8937368a64806f979f7ef38c9e5ae666179ac.tar.gz src-92a8937368a64806f979f7ef38c9e5ae666179ac.zip |
Only print "couldn't install distributions" popup if any
actual distributions were found to go along with the residual
mask value.
Notes
Notes:
svn path=/head/; revision=55201
Diffstat (limited to 'usr.sbin/sysinstall')
-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 dc70a879b9ed..cfa651f6356c 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; |