summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-09-28 23:21:09 +0000
committerOlivier Blin <oblin@mandriva.org>2005-09-28 23:21:09 +0000
commit467b45c5d66d719e7e3701c066db566aba10c88b (patch)
tree66114c73956fba3ab2f8738cf00a1074349c87f7 /kernel
parent50d68b10d3b25575a58f1ba784263b3be6edb2c3 (diff)
downloaddrakx-backup-do-not-use-467b45c5d66d719e7e3701c066db566aba10c88b.tar
drakx-backup-do-not-use-467b45c5d66d719e7e3701c066db566aba10c88b.tar.gz
drakx-backup-do-not-use-467b45c5d66d719e7e3701c066db566aba10c88b.tar.bz2
drakx-backup-do-not-use-467b45c5d66d719e7e3701c066db566aba10c88b.tar.xz
drakx-backup-do-not-use-467b45c5d66d719e7e3701c066db566aba10c88b.zip
restore disambiguating {; (even if perl_checker doesn't support it)
Diffstat (limited to 'kernel')
-rw-r--r--kernel/modules.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/modules.pl b/kernel/modules.pl
index 26194a69e..afcc50549 100644
--- a/kernel/modules.pl
+++ b/kernel/modules.pl
@@ -130,7 +130,7 @@ sub remove_unneeded_modules {
my @all = list_modules::all_modules();
my @all_with_deps = map { dependencies_closure($_) } @all;
- my %wanted_modules = map { "$_.$ext" => 1 } @all_with_deps;
+ my %wanted_modules = map {; return "$_.$ext" => 1 } @all_with_deps;
foreach (all("all.kernels/$kern_ver/modules")) {
$wanted_modules{$_} or unlink "all.kernels/$kern_ver/modules/$_";
}