summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-02-19 13:26:49 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-02-19 13:26:49 +0000
commit80d2488e57d86edbdabc391aea6455ca82ea2956 (patch)
tree93424f67695bbcd285200cd2e34d111ce16fc930
parentf910d0f48e4541c342dd6c57332eee8a919c6ad5 (diff)
downloaddrakx-backup-do-not-use-80d2488e57d86edbdabc391aea6455ca82ea2956.tar
drakx-backup-do-not-use-80d2488e57d86edbdabc391aea6455ca82ea2956.tar.gz
drakx-backup-do-not-use-80d2488e57d86edbdabc391aea6455ca82ea2956.tar.bz2
drakx-backup-do-not-use-80d2488e57d86edbdabc391aea6455ca82ea2956.tar.xz
drakx-backup-do-not-use-80d2488e57d86edbdabc391aea6455ca82ea2956.zip
(ask_from_listf_no_check): die 'ask_from_list cancel' on cancel
-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 f14efcfe7..928c00c91 100644
--- a/perl-install/interactive.pm
+++ b/perl-install/interactive.pm
@@ -131,7 +131,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];
} else {
- ask_from_entries_refH($o, $title, $message, [ { val => \$def, type => 'list', list => $l, help => $help, format => $f } ]);
+ ask_from_entries_refH($o, $title, $message, [ { val => \$def, type => 'list', list => $l, help => $help, format => $f } ]) or die 'ask_from_list cancel';
$def;
}
}