summaryrefslogtreecommitdiffstats
path: root/rescue
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-05-23 18:26:23 +0000
committerThierry Vignaud <tv@mageia.org>2012-05-23 18:26:23 +0000
commit11bca1ef951a93bc36c154737de4f2c8342f1638 (patch)
treed81e07b2d310f5b3ec475cf3145da6f6f634f6b1 /rescue
parent74b736054e8fb12af39fc0ccc14e61c3558b73da (diff)
downloaddrakx-backup-do-not-use-11bca1ef951a93bc36c154737de4f2c8342f1638.tar
drakx-backup-do-not-use-11bca1ef951a93bc36c154737de4f2c8342f1638.tar.gz
drakx-backup-do-not-use-11bca1ef951a93bc36c154737de4f2c8342f1638.tar.bz2
drakx-backup-do-not-use-11bca1ef951a93bc36c154737de4f2c8342f1638.tar.xz
drakx-backup-do-not-use-11bca1ef951a93bc36c154737de4f2c8342f1638.zip
fix "not enough parameters" and actually display error messages
bug for 11+ years...
Diffstat (limited to 'rescue')
-rwxr-xr-xrescue/make_rescue_img2
1 files changed, 1 insertions, 1 deletions
diff --git a/rescue/make_rescue_img b/rescue/make_rescue_img
index 59b0f7073..66deed0fa 100755
--- a/rescue/make_rescue_img
+++ b/rescue/make_rescue_img
@@ -27,7 +27,7 @@ _ "../tools/install-xml-file-list list.xml $tmp";
my %keytable_conflicts;
my @less_important_keytables = qw(am_old am_phonetic no-dvorak de-latin1);
-foreach (keyboard::loadkeys_files()) {
+foreach (keyboard::loadkeys_files(sub { warn @_ })) {
my ($dir, $fname) = (dirname($_), basename($_));
my ($name) = $fname =~ /(.*)\.map\.gz/ or next;
next if member($name, @less_important_keytables);