diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2001-03-23 16:35:03 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2001-03-23 16:35:03 +0000 |
commit | 55588554b612a7a951aa22165c7381e81f3ce4a0 (patch) | |
tree | bc3df1e5a3ca5795258a37a8c79acdc584e7f000 /perl-install | |
parent | 2561ecf5800fae256ca8c7ac98d673a825b722e5 (diff) | |
download | drakx-55588554b612a7a951aa22165c7381e81f3ce4a0.tar drakx-55588554b612a7a951aa22165c7381e81f3ce4a0.tar.gz drakx-55588554b612a7a951aa22165c7381e81f3ce4a0.tar.bz2 drakx-55588554b612a7a951aa22165c7381e81f3ce4a0.tar.xz drakx-55588554b612a7a951aa22165c7381e81f3ce4a0.zip |
(ask_from_listf_no_check): fix the fix fix fix
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/interactive.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/interactive.pm b/perl-install/interactive.pm index b50eead75..2cd911741 100644 --- a/perl-install/interactive.pm +++ b/perl-install/interactive.pm @@ -142,7 +142,7 @@ sub ask_from_listf_no_check { if_($l->[1], cancel => may_apply($f, $l->[1]), focus_cancel => $def eq $l->[1]) }, [] ) ? $l->[0] : $l->[1]; }; - $@ && $@ =~ /^wizcancel/ or die; + die if $@ && $@ !~ /^wizcancel/; $@ ? undef : $ret; } else { ask_from_entries_refH($o, $title, $message, [ { val => \$def, type => 'list', list => $l, help => $help, format => $f } ]) && $def; |