summaryrefslogtreecommitdiffstats
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
commitba7b41cadca4edf73f3a612a62217541696b44cc (patch)
treed81e07b2d310f5b3ec475cf3145da6f6f634f6b1
parent5c618392650579d7d8456a2e6265ad710e351211 (diff)
downloaddrakx-ba7b41cadca4edf73f3a612a62217541696b44cc.tar
drakx-ba7b41cadca4edf73f3a612a62217541696b44cc.tar.gz
drakx-ba7b41cadca4edf73f3a612a62217541696b44cc.tar.bz2
drakx-ba7b41cadca4edf73f3a612a62217541696b44cc.tar.xz
drakx-ba7b41cadca4edf73f3a612a62217541696b44cc.zip
fix "not enough parameters" and actually display error messages
bug for 11+ years...
-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);