summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xdraklive2
1 files changed, 1 insertions, 1 deletions
diff --git a/draklive b/draklive
index e3f46bc..22eb0d8 100755
--- a/draklive
+++ b/draklive
@@ -483,7 +483,7 @@ sub create_initrd_for_media {
($live->{mount}{overlay} ? @{$overlay{$live->{mount}{overlay}}{modules} || []} : ());
my @additional_modules = map { m!([^/]+)\.ko! } @{$live->{system}{additional_modules}};
- cp_f(map { $live->{settings}{config_root} . '/' . $_ } @{$live->{system}{additional_modules}}, $initrd_tree . "/lib/");
+ cp_f((map { $live->{settings}{config_root} . '/' . $_ } @{$live->{system}{additional_modules}}), $initrd_tree . "/lib/");
my @missing = sort(difference2($extra_missing, \@additional_modules));
@missing and die "missing mandatory modules:\n" . join("\n", @missing);