diff options
author | jkh <jkh@FreeBSD.org> | 2000-03-18 08:40:39 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 2000-03-18 08:40:39 +0000 |
commit | 3bd4e62fed69d468cdb15c7bd8c83c0564d3d181 (patch) | |
tree | 6c58bcdbb9db038cae7611121d3b5c1f6cc6b1a4 | |
parent | e6708c22b04540d555bc26598abb01251197f6f7 (diff) | |
download | FreeBSD-src-3bd4e62fed69d468cdb15c7bd8c83c0564d3d181.zip FreeBSD-src-3bd4e62fed69d468cdb15c7bd8c83c0564d3d181.tar.gz |
Sigh, when the DIST_LOCAL thing was added, it unfortunately wasn't added
completely. Take out another gratuitous warning which is omitted when
All is selected and local dist does not exist.
-rw-r--r-- | release/sysinstall/dist.c | 2 | ||||
-rw-r--r-- | usr.sbin/sysinstall/dist.c | 2 |
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); |