diff options
-rw-r--r-- | perl-install/bootloader.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm index d1e706d70..4a83f3c3a 100644 --- a/perl-install/bootloader.pm +++ b/perl-install/bootloader.pm @@ -133,7 +133,7 @@ sub read_grub() { $b{nowarn} = 1; # handle broken installkernel -r: - $b{default} = min($b{default}, scalar(@{$b{entries}}) -1); + $b{default} = min($b{default}, scalar(@{$b{entries}}) - 1); $b{default} = $b{entries}[$b{default}]{label}; \%b; |