diff options
author | Pascal Rigaux <pixel@mandriva.com> | 1999-09-19 14:49:36 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 1999-09-19 14:49:36 +0000 |
commit | 4710960f1314ec790ea876f0e50250cac59e089c (patch) | |
tree | ebf7ffacad519615bc779e28e108af7fff27d14b /perl-install/interactive.pm | |
parent | bb1b2617bc36e258f13d375faaaec1bfff97080e (diff) | |
download | drakx-4710960f1314ec790ea876f0e50250cac59e089c.tar drakx-4710960f1314ec790ea876f0e50250cac59e089c.tar.gz drakx-4710960f1314ec790ea876f0e50250cac59e089c.tar.bz2 drakx-4710960f1314ec790ea876f0e50250cac59e089c.tar.xz drakx-4710960f1314ec790ea876f0e50250cac59e089c.zip |
no_comment
Diffstat (limited to 'perl-install/interactive.pm')
-rw-r--r-- | perl-install/interactive.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/interactive.pm b/perl-install/interactive.pm index 4ffb44d71..debbb0aba 100644 --- a/perl-install/interactive.pm +++ b/perl-install/interactive.pm @@ -124,6 +124,8 @@ sub ask_from_entries($$$$;$%) { #- if you pass a hash with a field hidden -> emulate stty -echo sub ask_from_entries_ref($$$$;$%) { my ($o, $title, $message, $l, $val, %callback) = @_; + + return unless @$l; $message = ref $message ? $message : [ $message ]; |