summaryrefslogtreecommitdiffstats
path: root/perl-install/bootloader.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/bootloader.pm')
-rw-r--r--perl-install/bootloader.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm
index a5b7638d3..df290424d 100644
--- a/perl-install/bootloader.pm
+++ b/perl-install/bootloader.pm
@@ -69,7 +69,7 @@ sub mkinitrd($$$) {
sub mkbootdisk($$$;$) {
my ($prefix, $kernelVersion, $dev, $append) = @_;
- modules::load_multi(arch() =~ /sparc/ ? 'romfs' : (), 'loop');
+ modules::load(if_(arch() =~ /sparc/, 'romfs'), 'loop');
my @l = qw(mkbootdisk --noprompt);
push @l, "--appendargs", $append if $append;
eval { modules::load('vfat') };