diff options
Diffstat (limited to 'perl-install/interactive.pm')
-rw-r--r-- | perl-install/interactive.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/interactive.pm b/perl-install/interactive.pm index 3b296a982..4ffb44d71 100644 --- a/perl-install/interactive.pm +++ b/perl-install/interactive.pm @@ -59,14 +59,14 @@ sub ask_okcancel($$$;$) { sub ask_from_list_ { my ($o, $title, $message, $l, $def) = @_; - @$l == 0 and die; + @$l == 0 and die ''; @$l == 1 and return $l->[0]; goto &ask_from_list2_; } sub ask_from_list { my ($o, $title, $message, $l, $def) = @_; - @$l == 0 and die; + @$l == 0 and die ''; @$l == 1 and return $l->[0]; goto &ask_from_list2; } |