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 7454caf8e..e26135772 100644
--- a/perl-install/bootloader.pm
+++ b/perl-install/bootloader.pm
@@ -119,7 +119,7 @@ sub read_grub {
$b{boot} = grub2dev($1) if /\s*d\s* (\(.*?\))\s*/;
}
- $b{default} = $b{entries}[$b{default}]->{label};
+ $b{default} = $b{entries}[$b{default}]{label};
\%b;
}