summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/install_any.pm5
1 files changed, 3 insertions, 2 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index 7fc1559b1..022db2e54 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -504,11 +504,11 @@ sub selectSupplMedia {
my $url;
local $global_ftp_prefix;
if ($suppl_method eq 'ftp') { #- mirrors are ftp only (currently)
- $url = $o->askSupplMirror(N("URL of the mirror?")) or return '';
+ $url = $o->askSupplMirror(N("URL of the mirror?")) or return 'error';
$url =~ m!^ftp://(?:(.*?)(?::(.*?))?@)?([^/]+)/(.*)!
and $global_ftp_prefix = [ $3, $4, $1, $2 ]; #- for getFile
} else {
- $url = $o->ask_from_entry('', N("URL of the mirror?")) or return '';
+ $url = $o->ask_from_entry('', N("URL of the mirror?")) or return 'error';
}
useMedium($medium_name);
require "$suppl_method.pm"; #- require http or ftp
@@ -554,6 +554,7 @@ sub selectSupplMedia {
setup_suppl_medium($supplmedium, $url, $suppl_method);
} else {
log::l("no suppl hdlist");
+ $suppl_method = 'error';
}
}
} else {