summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-04-09 09:50:43 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-04-09 09:50:43 +0000
commit8d7d9eeb4df1ed638a36631c5efb3d7da92b378c (patch)
treedf96787750d8bd6e4b5967be95b00db651f8bb1e /perl-install
parent14b322329e8ae29ca52fbe7e80e1b1a3cb218790 (diff)
downloaddrakx-8d7d9eeb4df1ed638a36631c5efb3d7da92b378c.tar
drakx-8d7d9eeb4df1ed638a36631c5efb3d7da92b378c.tar.gz
drakx-8d7d9eeb4df1ed638a36631c5efb3d7da92b378c.tar.bz2
drakx-8d7d9eeb4df1ed638a36631c5efb3d7da92b378c.tar.xz
drakx-8d7d9eeb4df1ed638a36631c5efb3d7da92b378c.zip
(ask_from_treelistf): make it behaves correctly when "cancel" is clicked
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/interactive.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/interactive.pm b/perl-install/interactive.pm
index 2cd911741..596b40d15 100644
--- a/perl-install/interactive.pm
+++ b/perl-install/interactive.pm
@@ -160,7 +160,7 @@ sub ask_from_treelist_ {
}
sub ask_from_treelistf {
my ($o, $title, $message, $separator, $f, $l, $def) = @_;
- ask_from_entries_refH($o, $title, $message, [ { val => \$def, separator => $separator, list => $l, format => $f } ]);
+ ask_from_entries_refH($o, $title, $message, [ { val => \$def, separator => $separator, list => $l, format => $f } ]) or return;
$def;
}