summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--release/sysinstall/dist.c2
-rw-r--r--usr.sbin/sysinstall/dist.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/release/sysinstall/dist.c b/release/sysinstall/dist.c
index 3c2ae94..6fa0d35 100644
--- a/release/sysinstall/dist.c
+++ b/release/sysinstall/dist.c
@@ -828,7 +828,7 @@ distExtract(char *parent, Distribution *me)
msgConfirm("Unable to transfer all components of the %s distribution.\n"
"You may wish to switch media types and try again.\n", me[i].my_name);
}
- else {
+ else if (me[i].my_bit != DIST_LOCAL) {
status = msgYesNo("Unable to transfer the %s distribution from\n%s.\n\n"
"Do you want to try to retrieve it again?",
me[i].my_name, mediaDevice->name);
diff --git a/usr.sbin/sysinstall/dist.c b/usr.sbin/sysinstall/dist.c
index 3c2ae94..6fa0d35 100644
--- a/usr.sbin/sysinstall/dist.c
+++ b/usr.sbin/sysinstall/dist.c
@@ -828,7 +828,7 @@ distExtract(char *parent, Distribution *me)
msgConfirm("Unable to transfer all components of the %s distribution.\n"
"You may wish to switch media types and try again.\n", me[i].my_name);
}
- else {
+ else if (me[i].my_bit != DIST_LOCAL) {
status = msgYesNo("Unable to transfer the %s distribution from\n%s.\n\n"
"Do you want to try to retrieve it again?",
me[i].my_name, mediaDevice->name);
OpenPOWER on IntegriCloud