summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/any.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm
index caddc0fab..960f6909f 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -123,7 +123,7 @@ sub setupBootloader {
my $use_partition = "/dev/$boot" ne $b->{boot};
$in->ask_from(N("LILO/grub Installation"),
N("Where do you want to install the bootloader?"),
- { val => \$use_partition, list => [ 0, 1 ], format => sub { translate($l[$_[0]]) } });
+ [ { val => \$use_partition, list => [ 0, 1 ], format => sub { translate($l[$_[0]]) } } ]);
$b->{boot} = "/dev/" . ($use_partition ? fsedit::get_root($fstab, 'boot')->{device} : $boot);
}
} else {