summaryrefslogtreecommitdiffstats
path: root/kernel/modules.pl
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/modules.pl
parent50d68b10d3b25575a58f1ba784263b3be6edb2c3 (diff)
downloaddrakx-467b45c5d66d719e7e3701c066db566aba10c88b.tar
drakx-467b45c5d66d719e7e3701c066db566aba10c88b.tar.gz
drakx-467b45c5d66d719e7e3701c066db566aba10c88b.tar.bz2
drakx-467b45c5d66d719e7e3701c066db566aba10c88b.tar.xz
drakx-467b45c5d66d719e7e3701c066db566aba10c88b.zip
restore disambiguating {; (even if perl_checker doesn't support it)
Diffstat (limited to 'kernel/modules.pl')
-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/$_";
}