summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps_interactive.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/install_steps_interactive.pm')
-rw-r--r--perl-install/install_steps_interactive.pm7
1 files changed, 2 insertions, 5 deletions
diff --git a/perl-install/install_steps_interactive.pm b/perl-install/install_steps_interactive.pm
index def291362..6df194793 100644
--- a/perl-install/install_steps_interactive.pm
+++ b/perl-install/install_steps_interactive.pm
@@ -1148,11 +1148,8 @@ sub setup_thiskind {
if ($allow_probe) {
eval { @l = $o->load_thiskind($type) };
- if ($@) {
- $o->errorInStep($@);
- } else {
- return if $auto && (@l || !$at_least_one);
- }
+ $o->ask_warn('', $@) if $@;
+ return if $auto && (@l || !$at_least_one);
}
while (1) {
my $msg = @l ?