diff options
Diffstat (limited to 'perl-install/install_any.pm')
-rw-r--r-- | perl-install/install_any.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm index d299b8bfc..1233b6e9e 100644 --- a/perl-install/install_any.pm +++ b/perl-install/install_any.pm @@ -92,7 +92,9 @@ sub mouse_detect() { sub shells($) { my ($o) = @_; - grep { -x "$o->{prefix}$_" } @{$o->{default}->{shells}}; + my @l = grep { -x "$o->{prefix}$_" } @{$o->{default}->{shells}}; + @l or die "no shell available"; + @l; } sub upgrFindInstall { |