diff options
-rw-r--r-- | release/sysinstall/dist.c | 8 | ||||
-rw-r--r-- | usr.sbin/sysinstall/dist.c | 8 |
2 files changed, 10 insertions, 6 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; 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; |