diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-05-23 18:26:23 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-05-23 18:26:23 +0000 |
commit | 11bca1ef951a93bc36c154737de4f2c8342f1638 (patch) | |
tree | d81e07b2d310f5b3ec475cf3145da6f6f634f6b1 /rescue/make_rescue_img | |
parent | 74b736054e8fb12af39fc0ccc14e61c3558b73da (diff) | |
download | drakx-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/make_rescue_img')
-rwxr-xr-x | rescue/make_rescue_img | 2 |
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); |