diff options
Diffstat (limited to 'perl-install/install_interactive.pm')
-rw-r--r-- | perl-install/install_interactive.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install_interactive.pm b/perl-install/install_interactive.pm index 074f8aff5..d60e922cb 100644 --- a/perl-install/install_interactive.pm +++ b/perl-install/install_interactive.pm @@ -273,7 +273,7 @@ sub setup_thiskind { } @l = map { $_->{description} } @l; while (1) { - my ($msg_type) = $type =~ /(.*)|/; + (my $msg_type = $type) =~ s/\|.*//; my $msg = @l ? [ _("Found %s %s interfaces", join(", ", @l), $msg_type), _("Do you have another one?") ] : |